On Tue, 5 Feb 2008, Pavel Sanda wrote:

On Mon, 4 Feb 2008, rgheck wrote:

 looking at the RES memory usage, the main consumers are these. what if
 we start by running less childerns of spamd?

   59m   2:32.53 spamd                           57m   0:52.08 spamd
   37m   1:48.72 spamd

Do we even need 'spamd'?   I mean, does it serve a useful purpose on
aussie?

i guess its purpose is to filter spam from [EMAIL PROTECTED] address and not 
doing
this filter would mean megabytes of disk space on aussie every day because many
people dont forward their mails etc.

We should check on which addresses it is run. I suspect there is one
instance per mail address...

afaik spamd has fixed number of childs (here 3); so its just to change this
parameter in config.

Makes sense... I found this for an option that can be given to spamd:

        -m number , --max-children=number

        This option specifies the maximum number of children to spawn.
        <snip>
        minimum value is 1, the default value is 5.
        <snip>

        Note that if you run too many servers for the amount of free RAM
        available, you run the danger of hurting performance by causing a
        high swap load as server processes are swapped in and out
        continually.

I also noticed that we should restart spamd after changing the configuration file, using SIGHUP seems somewhat more tricky.

I'm _guessing_ this is the file to change:
        /etc/mail/spamassassin/local.cf

but I don't know what to add...

/Christian

--
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr

Reply via email to