> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of John Clarke
> Sent: Monday, 23 June 2003 11:40 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [SLUG] Opinions sought: Exim vs Sendmail
> 
> 
> On Mon, Jun 23, 2003 at 11:19:25AM +1000, James Gray wrote:
> 
> > We are running into problems when we get a flood of 
> messages (>50/minute)
> > as the whole mail filtering/scanning thing quickly chews up 
> all CPU time
> 
> Are you running SpamAssassin as a daemon (spamd)?  I had this problem
> when I first setup SpamAssassin because I was using the perl program
> (spamassassin) to process each message.  I changed to using 
> spamc/spamd
> and it now has negligible impact on the cpu load.
> 
> 
> Cheers,
> 
> John

Here's the pertinent details for the system concerned:
# ps aux | awk '{print $1 "\t" $3 "\t" $4 "\t" $10 "\t" $11}'
USER    %CPU    %MEM    TIME    COMMAND
nobody  78.1    14.7    0:11.69 /usr/bin/spamd
root    0.0     0.0     0:28.50 (pagedaemon)
root    0.0     0.0     0:05.64 (vmdaemon)
root    0.0     0.0     0:11.99 (bufdaemon)
root    0.0     0.0     0:11.79 (vnlru)
root    0.0     0.0     8:24.99 (syncer)
root    0.0     0.3     0:39.22 /usr/bin/perl
bind    0.0     1.6     39:49.58/usr/local/sbin/named
root    0.0     0.3     1:13.24 sendmail:
root    0.0     9.4     0:03.92 /usr/bin/spamd
root    0.0     0.5     0:00.01 sendmail:
root    0.0     0.5     0:00.01 sendmail:
root    0.0     0.5     0:00.01 sendmail:
root    0.0     0.6     0:00.03 sendmail:
root    0.0     0.5     0:00.01 /usr/bin/spamc
root    0.0     0.6     0:00.01 sendmail:
root    0.0     0.0     0:00.12 (swapper)
root    0.0     0.0     0:25.62 /sbin/init

(non-relevant processes snipped - sshd/csh/sh etc).

Notice the spamd load?  This looks a little high to me.  But our spam
rules are huge (the normal rules that come with Spamassassin + 1168
custom rules).  Those custom rules round out to 3504 lines of
RULE/DESCRIPTION/SCORE..... so relatively large.  FWIW we're running
spamassassin 2.55.

I can send anything that might shed more light on the problem
(sendmail.cf exerpts etc)....just let me know :-)

Cheers,

James
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to