You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Janusz A. Urbanowicz" <al...@bofh.net.pl> on 2007/12/10 16:39:42 UTC

SA throttling

Hello

This is my first post to the list, and I have following problem: I run
spamd (3.2.3) under quite heavy load, on a dedicated machine (debian
etch). Once in about hour the load of the machine skyrockets to about
100 and then it hangs there until I restart the exim MTA that talks to
it. What is logged then, follows below. Is this a bug, or there is
something I can do besides restarting spamd every 15 minutes from
cron?


Dec 10 16:07:03 copperhead spamd[8307]: spamd: result: . 3 - BAYES_50,RDNS_DYNAMIC,SUBJECT_NEEDS_ENCODING,SUBJ_ILLEGAL_CHARS scantime=62.0,size=6368,user=no
body,uid=104,required_score=4.5,rhost=xen205.internal,raddr=10.2.1.205,rport=38769,mid=<20...@bravo.anv.pl>,bayes=0.501768,autolearn=d
isabled
Dec 10 16:07:03 copperhead spamd[1664]: prefork: child states: BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBS
Dec 10 16:07:03 copperhead spamd[1664]: spamd: server successfully spawned child process, pid 8388
Dec 10 16:07:03 copperhead spamd[8302]: spamd: checking message <78...@Jake> for nobody:104
Dec 10 16:07:08 copperhead spamd[8307]: spamd: connection from 10.2.1.198 [10.2.1.198] at port 43150

[ here it hangs] 

Dec 10 16:16:10 copperhead spamd[8304]: bayes: child processing timeout at /usr/sbin/spamd line 1246.
Dec 10 16:16:10 copperhead spamd[8344]: rules: failed to run BAYES_99 test, skipping:
Dec 10 16:16:10 copperhead spamd[8344]:  (child processing timeout at /usr/sbin/spamd line 1246, <GEN5951> line 61.
Dec 10 16:16:10 copperhead spamd[8380]: spamd: timeout: (300 second timeout while trying to REPORT) at /usr/sbin/spamd line 2000.
Dec 10 16:16:10 copperhead spamd[8344]: )
Dec 10 16:16:10 copperhead spamd[8335]: plugin: eval failed: child processing timeout at /usr/sbin/spamd line 1246.
Dec 10 16:16:10 copperhead spamd[8377]: spamd: timeout: (300 second timeout while trying to REPORT) at /usr/sbin/spamd line 2000.
Dec 10 16:16:10 copperhead spamd[8302]: rules: failed to run BAYES_99 test, skipping:
Dec 10 16:16:10 copperhead spamd[8302]:  (child processing timeout at /usr/sbin/spamd line 1246, <GEN5930> line 106.
Dec 10 16:16:10 copperhead spamd[8302]: )
Dec 10 16:16:10 copperhead spamd[8304]: spamd: checking message <00...@LO> for nobody:104
Dec 10 16:16:11 copperhead spamd[8385]: spamd: timeout: (300 second timeout while trying to REPORT) at /usr/sbin/spamd line 2000.
Dec 10 16:16:11 copperhead spamd[8382]: spamd: timeout: (300 second timeout while trying to REPORT) at /usr/sbin/spamd line 2000.
Dec 10 16:16:11 copperhead spamd[8384]: spamd: timeout: (300 second timeout while trying to REPORT) at /usr/sbin/spamd line 2000.
Dec 10 16:16:11 copperhead spamd[8378]: spamd: timeout: (300 second timeout while trying to REPORT) at /usr/sbin/spamd line 2000.
Dec 10 16:16:11 copperhead spamd[8364]: spamd: copy_config timeout, respawning child process after 1 messages at /usr/sbin/spamd line 1103.
Dec 10 16:16:11 copperhead spamd[8335]: spamd: clean message (0.0/4.5) for nobody:104 in 608.5 seconds, 6895 bytes.
Dec 10 16:16:11 copperhead spamd[8335]: spamd: result: . 0 - UNPARSEABLE_RELAY scantime=608.5,size=6895,user=nobody,uid=104,required_score=4.5,rhost=xen205.
internal,raddr=10.2.1.205,rport=38780,mid=<80...@WRO02EXM.centrala.bzwbk>,bayes=0.500002,autolearn=unavailable
Dec 10 16:16:12 copperhead spamd[8386]: spamd: connection from 10.2.1.198 [10.2.1.198] at port 43153
Dec 10 16:16:13 copperhead spamd[8307]: spamd: timeout: (300 second timeout while trying to REPORT) at /usr/sbin/spamd line 2000.
Dec 10 16:16:14 copperhead spamd[8299]: rules: failed to run BAYES_99 test, skipping:
Dec 10 16:16:14 copperhead spamd[8299]:  (child processing timeout at /usr/sbin/spamd line 1246, <GEN5909> line 179.
Dec 10 16:16:14 copperhead spamd[8299]: )
Dec 10 16:16:15 copperhead spamd[8359]: plugin: eval failed: child processing timeout at /usr/sbin/spamd line 1246.
Dec 10 16:16:15 copperhead spamd[8328]: plugin: eval failed: child processing timeout at /usr/sbin/spamd line 1246.

[ here it resumes ]

Dec 10 16:16:15 copperhead spamd[8328]: spamd: clean message (-100.0/4.5) for nobody:104 in 618.1 seconds, 2952 bytes.
Dec 10 16:16:15 copperhead spamd[8328]: spamd: result: . -100 - USER_IN_WHITELIST scantime=618.1,size=2952,user=nobody,uid=104,required_score=4.5,rhost=xen2
05.internal,raddr=10.2.1.205,rport=38738,mid=<00...@f120820250ee46c>,bayes=0.500000,autolearn=unavailable
Dec 10 16:16:15 copperhead spamd[8359]: spamd: clean message (4.0/4.5) for

TIA

Alex
-- 
JID: alex@hell.pl
PGP: 0x46399138
od zwracania uwagi na detale są lekarze, adwokaci, programiści i zegarmistrze
 -- Czerski