Re: [AMaViS-user] mail processing bottleneck

This is a discussion on Re: [AMaViS-user] mail processing bottleneck within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; On 4/18/08, MK <info@ea80.net> wrote: > hi list, > > i am trying to ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008
Gary V
 
Posts: n/a
Default Re: [AMaViS-user] mail processing bottleneck

On 4/18/08, MK <info@ea80.net> 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;198757...un.com/javaone
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0