Alex, > I have a rather large bayes database with spamassassin now, and would > like to investigate some performance tuning options to optimize memory > usage and disk access. > > I came across this PDF from Marc from a few years ago, and although I > think it's a bit dated, it looks helpful: > http://www.ijs.si/software/amavisd/amavisd-new-magdeburg-20050519.pdf
There is also a more recent presentation: http://www.ijs.si/software/amavisd/amavis-berlin-20090703.pdf > How can I enable bayes in bdb with a global cache, as it references > on page 12? $db_home = "$MYHOME/db"; $enable_db = 0; $enable_global_cache = 0; Although it is less effective than it used to be, nowadays when spam messages are being personalized and virus outbreaks are less severe. > Does anyone know where I can find amavisd-nanny to help monitor > amavisd for message processing issues? amavisd-nanny comes with the amavis package. It first appeared in amavisd-new-2.1.0, but was refined in later versions. > Is it possible to monitor it via SNMP? Yes, starting with amavisd-new-2.6.4 there is a true SNMP agent in the amavisd package - see release notes. Also mentioned in amavis-berlin-20090703.pdf, page 85, with some sample screenshots. > I'm using an older version of amavisd-new now, but am currently in the > process of upgrading. In the interim, I'd like to make some > performance improvements to ease the load until I can upgrade. Move Bayes and AWL databases to SQL, if you haven't already done so. See sql/bayes_mysql.sql and sql/README.bayes in the SpamAssassin package. Using InnoDB and Mail::SpamAssassin::BayesStore::MySQL is a must (i.e. do not use Mail::SpamAssassin::BayesStore::SQL as a bayes_store_module). Mark ------------------------------------------------------------------------------ _______________________________________________ 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/