Hi Gianluca, > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Gianluca Marcari > Sent: Friday, 2 September 2005 10:35 p.m. > To: amavis-user@lists.sourceforge.net > Subject: [AMaViS-user] Postfix+Amavisd+Spamassassin+Clamav > low performance on 14-host deployment > > Hello, > > > We deployed a 14-host parallel postfix+amavis installation and are > having performance definitely not in line with what we were expecting > (and actually getting from a previos lower-scale installation).
Impressive deployment :) I have only 4 servers in parallel ;-) > Boxes are 2x2.66Ghz HT Xeons, 1GB Ram, 2 Ultra-320 HDDs in hardware > RAID1, Linux 2.6.12.3, amavis has its $TEMPBASE on a ramdrive > (/dev/shm). I would add more memory in these servers. My servers, for example, have 2.5 GB RAM each. With more memory you might be able to increase number of amavisd-new processes running in parallel, which could give you more throughput. > The systems are processing between 7 and 14 emails per second, while > receiving up to 40, thus falling behind constantly. Processing sounds relatively ok to me. > > Other relevant data: > Perl v5.8.5 > Logging via syslog You did remember to prefix entries with the "-" sign to omit syncing, right? That can cause huge slowdowns. > Sep 1 08:37:16 asav1 amavis[3682]: (03682-02-4) TIMING [total 5382 > fwd-rcpt-to: 5094 (95%)99, fwd-rundown: 3 (0%)99, deal_with_mail_size: This is unusually high. As other people said, it looks like your 2nd postfix instance is doing some checks which take quite a bit. Be sure to disable all unnecessary checks here. Also, as Clifton said, it is good to install a local caching DNS. Finally, for SpamAssassin, be sure to use MySQL storage backend and not BerkeleyDB. Cheers, Bojan -- Bojan Zdrnja, CISSP, RHCE Security Implementation Specialist Information Technology Systems and Services (ITSS) The University of Auckland, New Zealand ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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/