[Spambayes] Concurrent DB access leads to corruption? (FAQ question)

Jim Correia jim.correia at gmail.com
Sat Apr 2 16:49:51 CEST 2005


At

http://spambayes.sourceforge.net/faq.html#my-database-keeps-getting-corrupted

the FAQ says:

	Despite the efforts of the developers, there are still occasional
	problems with database corruption. Known potential causes include:

	1. Accessing the database files from more than one process concurrently.

	2. Interupting SpamBayes in the midst of training (through a program or
       machine crash, for example).

Is this information current?

I'm evaluation SpamBayes as a replacement for bogofilter in a current
production environment. I will be using sb_filter.py as well as
sb_imapfilter.pyc for retraining (for starters).

The cron task could fire at the same time as procmail. Does sb use
internal locks to prevent this situation? Is there otherwise a way to
avoid corruption with unavoidable concurrent access?

Thanks,
Jim


More information about the Spambayes mailing list