You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Qnet .." <ca...@hotmail.com> on 2007/11/06 22:22:03 UTC

Spamassassin Question -m 20



> Date: Mon, 5 Nov 2007 18:53:07 -0500
> From: mkettler_sa@verizon.net
> Subject: Re: Spamd HIGH LOAD
> To: carnival2171@hotmail.com
> CC: users@spamassassin.apache.org
> 
> Qnet .. wrote:
> > I start :
> >
> > #!/bin/sh
> > # spamassassin This script starts and stops the spamd daemon
> > #
> >  
> > PATH=$PATH:/usr/local/sbin:/usr/local/bin
> > case "$1" in
> >   start)
> >         cd /
> >  
> >         /usr/bin/spamd -v -u vpopmail -m 60 -x -q -s stderr -r
> > /var/run/spamd/spamd.pid \
> >         -i 172.16.10.14 -A 172.16.10.0/24 2>&1 | \
> >         /usr/local/bin/setuidgid qmaill \
> >         /usr/local/bin/multilog t !spamdappend /var/log/qmail/spamd &
> >         echo "spamd started"
> 
> 60 is *WAY* too many spamd children unless you've got a *VERY* beefy system.
> 
> Try modifying that "-m 60" to something more sane, like the default,
> which would be "-m 5". If you've got a lot of mail going through, 5
> won't handle it, so for that I might start at 15.
> 
> If your mail starts backing up, you can increase the number of spamd
> children, but be aware that too many will just grind your system to a
> halt. Try adding spamd children in increments of 5, and watch the "top"
> output. Your swap used should never be more than mem free if you can
> avoid it.
> 
>  You've got a gig of ram, and your spamds are 30mb a pop or so...  you
> should be ok up to about 20-25 spamd children, depending on how much
> other stuff is eating your memory, but you'll quickly run into trouble
> if you go over 30.
> 
> (30 spamds at 30mb each is 900mb of ram.. probably the absolute max you
> can fit even if the server isn't doing anything else but mail..)
> 

Thank you so much.
My 
Qmail server have 1GB RAM 
now I set -m 20. 
My doubt is:  what consequences it implies over queue ? 
                    i will have more spam ?
                    What is "normal" high load for a server?

Thank you and sorry for my bad english.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/