On Thu, 11 Sep 2003, Abigail Marshall wrote: > > CW> Ok, I re-learned most of it :/ > CW> Does anyone have an idea why it can happen that > CW> this database loses its content? > > I don't know but I have the same problem. It seems to > happen when my bayes_toks file reaches about 5k. > > I run a nightly sa-learn cron job and I've turned on debug > mode for this to try to figure out what is happening. > > So far, I've lost the bayes database 3 times. If I monitor > it closely, I can recover it as my system has a 24-hour > backup, so I can retrieve the previous days' bayes_toks > file, delete the bayes_seen file, and then run sa-learn > --rebuild to recover function.
Abigail, Which variety of database are you using in your perl installation? The "DB_File" module (based upon the Sleepycat Berkeley DB) is quite reliable. (In fact, SA 2.60 demands it, won't work with any other). I typically run 4~5 Megabytes for a bayes_toks file size and havn't seen that kind of problem. Now it is the case that certain older versions of the Berkeley DB had file locking issues on some platforms, so it would be advisable to be sure that your DB_File module is using a reasonably new version of Berkeley DB (V3.3 or so). -- Dave Funk University of Iowa <dbfunk (at) engineering.uiowa.edu> College of Engineering 319/335-5751 FAX: 319/384-0549 1256 Seamans Center Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527 #include <std_disclaimer.h> Better is not better, 'standard' is better. B{ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk