Len, > But I still feel there's something throttling amavis with the current > hardware. This machine groans on passing 900 - 1100 msgs/hour? > I think it can do a lot better.
The quickest overview on the sanity of amavisd/SpamAssassin is what amavisd-nanny shows. Set $nanny_details_level to 2 in amavisd.conf. A command 'amavisd-nanny -h' shows the legend. See if all amavisd child processes are busy. See in what state they are spending most of their time. The second thing to look at is a TIMING report (at log level 2). If it turns out (as it probably will) that a bottleneck is within SpamAssassin, my suggestion is to install SpamAssassin from its SVN trunk. This is just a standard Perl module install procedure (perl Makefile.PL; make; make test; make install; sa-update). With FreeBSD installing a Perl module is not as problematic as it seems to be with some Linux packaging systems, it coexists quite well with installations from ports, and if you are not happy with it, just pkg_delete it and reinstall SA from ports - the current state of affairs in 3.3 SVN trunk is still fully compatible with 3.2.5 from ports. Now, besides several bug fixes, the main advantage of 3.3 here is that amavisd-new will now also report TIMING-SA log entries at log level 2, which gives a timing breakdown of operations within SpamAssassin. > pyzor, razor2, dcc all are showing up in amavis log lines with scores. > I can't see where their answer times are logged. If CPU is a bottleneck the first thing than cam be done without much damage is to turn off pyzor, it is rather CPU hungry compared to the rest. Also, switch Bayes to MySQL if you still have it in a bdb database. Mark ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
