On Thu, 2011-11-17 at 15:55 +0000, Tom wrote:
> SPAMDOPTIONS="-d -L -i 10.44.219.208 -A 10.44.217.0/20 -m 40 -q -x -u 
> spamd --min-children=40"

Do you really run a single spamd server, serving a /20 of potential SMTP
servers?

Also, you configured spamd to try hard and always keep exactly 40
children around -- both max and min are set to that value.


> Other info Bayes module disabled, compiled regexes being used, RBL 
> checks disabled, network checks disabled.

No numbers, but I believe the stock set of regex rules in the 3.3 branch
should impose higher CPU and probably RAM usage than 3.2. In particular
with some previous iterations, which have long been fixed since. Did you
run sa-update to keep the rules fresh, re-compiled rules and restarted
spamd?

Any chance you're hitting swap?

Since you're running in -L local mode, how long does processing a mail
take? You mentioned "up to 600 mails per minute", 10 per second. I hope
that's a beefy machine, but with local mode only keeping 40 children for
up to 10 messages a second seems excessive.

(Without hitting swap, 4 seconds per message pure CPU, no idle waiting
for DNS, is too high.)


Besides, you mentioned both CentOS 5 and 6 machines. So, is that number
of messages per minute total, or per machine?


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}

Reply via email to