Bayes lock issue?
mkettler at EVI-INC.COM
Mon Aug 23 21:07:04 IST 2004
At 09:34 AM 8/23/2004, Rob wrote:
>I get the below message a few times a day... should I be concerned?
>Cannot open bayes databases /var/spool/spamassassin/bayes_* R/W: lock
>failed: File exists
No.. lock failures for the R/W bayes lock are normal, unless you're using
the journaled learning option for SA.
Basically this message means an opportunistic event that updates the bayes
DB was tried, but another event was already writing the bayes db. These
oportunistic events are autolearning and automatic expiry, and it's
reasonably common for them to collide. Rather than logjam the mail queue,
SA just notes it failed to lock the DB, and skips the autolearn or
postpones the expiry till later.
However, this shouldn't happen every time an email autolearns or the
database tries to expire. So, keep an eye on things. As long as
autolearning still happens sometimes, and your database isn't growing to
insane sizes without ever shrinking, you're OK.
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
More information about the MailScanner