Rocco wrote:

>>
>> > Hello,
>>
>> > Now I have empitied the /etc/mail/spamassassin directory and restarted
>> > amavisd-new. The top is this:
>>
>> > PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>> > 23081 amavis    17   0 87564  51m  37m S  4.7  1.3   0:00.53 amavisd
>> > 22392 amavis    17   0 92320  56m  37m S  4.3  1.4   0:01.68 amavisd
>> > 17198 amavis    17   0 85660  50m  36m S  0.3  1.3   0:02.38 amavisd
>>
>> > Infact the amavisd process still use to much memory!!!
>>
>> At least this is no where near what you were using before, look at the
>> difference in CPU load:
>>
>> >> >
>> >> >   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>> >> >  4060 amavis    25   0  311m 267m  37m R 56.4  6.7   0:22.24 amavisd
>> >> >  4061 amavis    25   0  312m 268m  37m R 50.1  6.8   0:24.69 amavisd
>> >>

> Infact, there is a big difference! But I need to use the rulesets to filter
> spam... Pherhaps I need to reduce the value of '$max_servers' (at the moment
> is 8)??

I think you have 4GB RAM on this server. Look at your CPU usage and
your load averages. If the machine is under high load, then maybe 8 is
too much, but if it is under light load, then you can even increase the
number. It was under high load when you were using all those SARE
rules, but it does not look like it is now. Many of thew SARE rules
you were using may already be included with SpamAssassin 3.1. So you
really need to determine which ones are not required. Many people
don't use any SARE rules (I only use 2), and SpamAssassin works fine
for them. My system may work better if I added a few more SARE rules,
but I would have to study each one very carefully to see if it meets
my needs.

Gary V



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to