https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6046





--- Comment #20 from Mark Martinec <[email protected]>  2009-02-10 10:49:00 
PST ---
It seems to be running just fine for a while, but then a database seems
to get corrupted:

Feb 10 19:34:42 xxx amavis[36895]: (36895-30) _WARN:
  rules: failed to run BAYES_05 test, skipping:
  (Couldn't put record:
  Secondary index corrupt: not consistent with primary
  at /usr/local/lib/perl5/site_perl/5.10.0/Mail/SpamAssassin/BayesStore/BDB.pm
  line 948)

Feb 10 19:34:42 xxx amavis[36827]: (36827-30) _WARN:
  plugin: eval failed: bayes: (in learn)
  Couldn't put record:
  Secondary index corrupt: not consistent with primary
  at /usr/local/lib/perl5/site_perl/5.10.0/Mail/SpamAssassin/BayesStore/BDB.pm
  line 816.

Same happened yesterday, which made me scratch the bdb database and start
anew, but it's happened again. I'm using db46-4.6.21.3 and BerkeleyDB-0.36
from FreeBSD ports. The same pair of db46 and BerkeleyDB is working well
for busy databases maintained by amavisd (nanny/process status, SNMP-like
statistics counters, cache and a cache-queue).

Could it be some concurrency/locking problem between multiple child processes,
each doing its Bayes/BDB thing independently (just like in spamd)?


-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to