Re: amavisd-new & postfix: # of processes

From: Ralf Hildebrandt (no email)
Date: Thu Jul 01 2004 - 05:59:47 EDT


* Jonathan Nichols <>:
> >Do you accept the mail before bouncing it?
> >
> Nope, if the address isn't in the valid_users file, it's rejected.

Excellent. Main thing!

> >>$max_servers = 350; # number of pre-forked children (default
> >>2)
> >>$max_requests = 800; # retire a child after that many accepts (default
> >>10)
> >
> >
> >These values are way too high.
> >
> Lowered to 150 and 300, respectively.

Because amavisd-new is I/O bound, just like postfix AND consumes lots
of CPU. If you have lots and lots of children forked, none gets to do
anything.

> You did mention LMTP.. how well will that work with amavisd-new and what
> kind of performance gain might I see?

Postfix's lmtp client implements connection caching
smtp doesn't.

-- 
Ralf Hildebrandt                                 
my current spamtrap                              
http://www.arschkrebs.de/postfix/                Tel. +49 (0)30-450 570-155
Why you can't find your system administrators:
Still trying to come down from inhaling too much tape head cleaner. -- Nick Cuccia 







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD