You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jim Hatfield <su...@insignia.com> on 2004/12/13 18:45:04 UTC

Can a bayes database just go bad?

I noticed an increase in uncaught spam this morning. A quick look
revealed that they were all coming through the same gateway (I have
two) and that if I try to do a sa-learn --sync I get this:

>sa-learn --config-file=/usr/local/etc/mimedefang/sa-mimedefang.cf --sync
>bayes: bayes db version 0 is not able to be used, aborting! at /usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/BayesStore/DBM.pm line 160.
>HASH: Out of overflow pages.  Increase page size

Copying the database from the other gateway fixed the problem.

This has been happening for at least a week, and unfortunately I only
keep a week of logs so I can't pinpoint when it started.

The broken bayes_seen is 10174464 bytes long but the bayes_toks is
only 65536 bytes, which I think is the minimum, so it looks like this
is what got damaged.