On Fri, Jun 25, 2004 at 06:10:09PM +0200, Harald Arnold wrote: > Am Fre, 2004-06-25 um 18.00 schrieb Michael Parker: > > On Fri, Jun 25, 2004 at 05:43:54PM +0200, Harald Arnold wrote: > > > I have all my mails beginning from year 2000. > > > I tried to feed the database (ham <-> spam) > > > via sa-learning --[ham|spam]. > > > After learning about 2.000 mails I tried > > > to see the "magic" numbers (nham and nspam), > > > but the database was KILLED and destroyed: > > > > Was anything else hitting the database at the same time (ie scanning)? > > > > It's possible that your sa-learn took so long that the scanning code > > thought that the lock was stale and broke the lock and started writing > > to the database. This could/would cause corruption in the database. > > This has been fixed in 3.0.0 by refreshing the lock every so often. > > This IS possible. Today I wrote two articels that I always got the > message >
A broken lock and corruption would probably explain those. Best bet, remove the corrupt database and start from scratch. Learn your messages in smaller chunks that take < 3-4 mins to learn at a time. I think SA breaks stale locks after 5 mins. Or upgrade to 3.0.0-pre1. Michael
