On 4/18/08, MK <[EMAIL PROTECTED]> wrote:
> hi list,
>
> i am trying to find out at which position of my mail-processing chain
> the bottleneck is - or which parameter is maybe misconfigured...
>
> my setup is (each newest stable version)
> sendmail <-> amavisd-milter <-> amavisd-new <-> clamd/spamassassin
>
> i noticed that the number of processed messages is constant at
> approx 1-2 messages per second (which is NOT that much, i think).
> CPU load is avrg 40%.
>
> anyone with a similar setup here to tell me the corresponding values
> for "max_server"-like parameter for each station in the chain?
> or how to dig for the bottleneck?
>
> thanks in advance
>
> MK
>

What is your hardware like and how many $max_servers are you running?

If you run amavisd-new at $log_level = 2; for a minute or so, you will
get some TIMING data that will show that 95% of the time spent is on
spamassassin scanning. SA is CPU intensive and queries many external
network resources (RBLs etc.), so additionally it is subject to high
delays. A local caching DNS server helps here. If other resources like
Razor, Pyzor and DCC are utilized, you can expect further delays
(mostly from Pyzor - especially if using the default server). There
have been a few posts looking for the same type info, like this one
for example:

http://marc.info/?l=amavis-user&m=120283445607760

It would be cool if someone were to take the time to create a document
outlining all the ways that SA could be performance tuned. There seems
to be an increasing need.

On a powerful system with a lot of $max_servers running, eventually
one may reach the point where the disks can't keep up.

-- 
Gary V

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
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