You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Ramprasad A Padmanabhan <ra...@netcore.co.in> on 2005/11/05 10:24:43 UTC

bayes on tmpfs

Hi,
   We run spamassassin on our Mailservers that receive close to 20k
mails per hour. 
 The problem is SA takes too long especially for the bayesian checks 

  I am thinking of moving the BAYES DB to a tmpfs partition. What are
the pros and cons ? I could write a cron to just copy the bayes to a
harddisk partition for recovery in case of a reboot.  The only concern
is that there would be too much of memory consumed because bayes by
itself also caches a lot in the memory


Thanks
Ram 



Re: bayes on tmpfs

Posted by Michael Monnerie <m....@zmi.at>.
On Samstag, 5. November 2005 10:24 Ramprasad A Padmanabhan wrote:
> I am thinking of moving the BAYES DB to a tmpfs partition.

What about using MySQL? It should be speedy, and "system builder" is 
using for such a solution, too (see thread "HUGE bayes DB 
(non-sitewide) advice?"). A good hint for big systems would help many 
people, and would be good to put on the Wiki.

mfg zmi
-- 
// Michael Monnerie, Ing.BSc  ---   it-management Michael Monnerie
// http://zmi.at           Tel: 0660/4156531          Linux 2.6.11
// PGP Key:   "lynx -source http://zmi.at/zmi2.asc | gpg --import"
// Fingerprint: EB93 ED8A 1DCD BB6C F952  F7F4 3911 B933 7054 5879
// Keyserver: www.keyserver.net                 Key-ID: 0x70545879