-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The Friday 2007-06-29 at 22:15 +0200, Sandy Drobic wrote:

> I assume that you configured both systems with reasonable defaults?
> Transfer over SMTP is indeed blazing fast with Postfix. I had to switch
> off my main server over night once. The queue on the replacement drained
> almost immediately (a few hundred mails only) when the primary came online
> again. Although the mails then sat in the active queue of the primary
> waiting to be scanned by amavisd-new. (^-^)

For a time, I had to reuse my old computer to retrieve suse list mail 
(suse 7.3, 32 MB ram, refurbished with postfix). Mail delivery went so 
slow that it tried to bounce! The amavis script took more than half an 
hour to process some emails and postfix decided to bounce back, thinking 
it had stalled.

The problem was that the system was starting a new instance or child 
amavis (or amvis.new, I don't remember), using swap memory for each and 
slowing the system more and more. The solution was, of course, to use a 
queue of one, so that postfix didn't feed amavis with the nest email till 
it had finished with the previous one, so that there were only one amavis 
child in memory and running. The processing time went down to under a 
minute per mail :-)

Interesting lesson! Even on a fast server, the number of amavis childs 
must be limited to a sensible value.

- -- 
Cheers,
       Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFGhjghtTMYHG2NR9URAs2pAKCJGUntqIsdbktiwnIvE1GBpFTGcQCaAhon
QHgaz3xAiebCzrfAKLKHs0o=
=Rlgw
-----END PGP SIGNATURE-----

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to