Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: users

SpamAssassin have many fails on my ubuntu 12.04

 

 

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded


damien at abstergo

May 15, 2012, 11:14 AM

Post #1 of 1 (541 views)
Permalink
SpamAssassin have many fails on my ubuntu 12.04

Hi All,

I post on this list because since several days I've problems with my SpamAssassin.
He crash several times in 1 day. I need just to make /etc/init.d/spamassassin start and it work again.

In Debug, I've that on the last 10 lines before the crash:
Tue May 15 19:30:00 2012 [18645] dbg: prefork: sysread(17) not ready, wait max 300 secs
Tue May 15 19:30:01 2012 [18647] dbg: timing: total 4731 ms - load_scoreonly_sql: 139 (2.9%), signal_user_changed: 30 (0.6%), parse: 19 (0.4%), extract_message_metadata: 106 (2.2%), get_uri_detail_list: 12 (0.3%), tests_pri_-1000: 13 (0.3%), tests_pri_-950: 2 (0.0%), tests_pri_-900: 3 (0.1%), tests_pri_-400: 94 (2.0%), check_bayes: 83 (1.7%), tests_pri_0: 2896 (61.2%), check_dkim_signature: 2 (0.0%), check_dkim_adsp: 68 (1.4%), check_spf: 102 (2.2%), poll_dns_idle: 83 (1.8%), check_razor2: 673 (14.2%), check_pyzor: 0.10 (0.0%), tests_pri_500: 9 (0.2%), rewrite_mail: 3 (0.1%), copy_config: 1378 (29.1%)
Tue May 15 19:30:01 2012 [18647] dbg: prefork: sysread(18) not ready, wait max 300 secs
Tue May 15 19:30:01 2012 [18466] dbg: timing: total 2397 ms - load_scoreonly_sql: 1.99 (0.1%), signal_user_changed: 2 (0.1%), parse: 1.43 (0.1%), extract_message_metadata: 150 (6.3%), get_uri_detail_list: 16 (0.7%), tests_pri_-1000: 58 (2.4%), tests_pri_-950: 1.57 (0.1%), tests_pri_-900: 15 (0.6%), tests_pri_-400: 96 (4.0%), check_bayes: 73 (3.0%), tests_pri_0: 742 (31.0%), check_dkim_signature: 0.83 (0.0%), check_dkim_adsp: 47 (2.0%), check_spf: 63 (2.6%), poll_dns_idle: 55 (2.3%), check_razor2: 410 (17.1%), check_pyzor: 0.06 (0.0%), tests_pri_500: 14 (0.6%), learn: 280 (11.7%), rewrite_mail: 5 (0.2%), copy_config: 966 (40.3%)
Tue May 15 19:30:01 2012 [18466] dbg: prefork: sysread(8) not ready, wait max 300 secs
Tue May 15 19:30:36 2012 [18647] dbg: prefork: parent closed, exiting
Tue May 15 19:30:36 2012 [18645] dbg: prefork: parent closed, exiting
Tue May 15 19:30:36 2012 [18600] dbg: prefork: parent closed, exiting
Tue May 15 19:30:36 2012 [18466] dbg: prefork: parent closed, exiting
Tue May 15 19:30:36 2012 [16335] dbg: prefork: parent closed, exiting

That's my /etc/default/spamassassin:
ENABLED=1
SAHOME="/var/log/spamassassin/"
OPTIONS="-D -u vmail --sql-config --nouser-config --daemonize --max-children=15 --create-prefs --setuid-with-sql --helper-home-dir=${SAHOME} --syslog=${SAHOME}spamd.log"
PIDFILE="/var/run/spamd.pid"
CRON=0

I've try to reduce the max-children of 10 or 5 but the Spamassasin crash same if I've 15 or more ...

Have any people in the same situation ? Or have you a idea what's I can check ?
SpamAssassin version 3.3.2
running on Perl version 5.14.2

That's is my "transport" with postfix:
spamassassin unix - n n - - pipe
flags=Rq user=vmail argv=/usr/bin/spamc -u ${user}@${nexthop} -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}

That's is my local.cf
ok_locales all
rbl_timeout 4
dns_available yes
time_limit 300
use_bayes 1
bayes_auto_learn 1
use_bayes_rules 1
bayes_path /home/.spamassassin/bayes
bayes_file_mode 0770
bayes_auto_expire 1
bayes_journal_max_size 150000000
bayes_expiry_max_db_size 200000000
ifplugin Mail::SpamAssassin::Plugin::AutoLearnThreshold
bayes_auto_learn_threshold_nonspam 0.1
bayes_auto_learn_threshold_spam 12.0
endif # Mail::SpamAssassin::Plugin::AutoLearnThreshold
skip_rbl_checks 0
use_razor2 1
razor_config /etc/razor/razor-agent.conf
razor_timeout 10
use_pyzor 0
pyzor_path /usr/bin/pyzor
pyzor_max 3
pyzor_timeout 10
required_score 5.0
report_safe 0
rewrite_header Subject *SPAM*
score BAYES_00 -6.1
score BAYES_01 -5.0
score BAYES_10 -3.5
score BAYES_20 -2.0
score BAYES_30 -1.0
score BAYES_40 -0.3
score BAYES_44 -0.01
score BAYES_50 0.01
score BAYES_56 0.3
score BAYES_60 1.0
score BAYES_70 1.6
score BAYES_80 3.1
score BAYES_90 5.2
score BAYES_99 7.2
score RAZOR2_CHECK 1.8
score RAZOR2_CF_RANGE_11_50 0.32
score RAZOR2_CF_RANGE_51_100 2.7
score PYZOR_CHECK 4.8
user_scores_dsn DBI:mysql:spamassassin:localhost
user_scores_sql_password *****
user_scores_sql_username spamassassin
user_scores_sql_custom_query SELECT preference, value FROM userpref WHERE username = _USERNAME_ OR username = '$GLOBAL' OR username = CONCAT('%',_DOMAIN_) ORDER BY username ASC

Thank,
Damien

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.