Re: intermittent lock issue

Dirk Bonengel <[email protected]>
Newsgroups gmane.mail.virus.maiamailguard
Message-ID <[email protected]>
    
David,
i suggest using MySQL to store SpamAssassin's Bayes data. Should give you a performance boost and you get rid of the lovking issues. Should be no problem migrating your data ....
Dirk


Mit meinem rechten Daumen gesendet.

-------- Ursprüngliche Nachricht --------
Von: David Newman <[email protected]> 
Datum: 15.09.2015  20:29  (GMT+01:00) 
An: [email protected] 
Betreff: [Maia-users] intermittent lock issue 

(cross-posting from the pho-postfix list, as I haven't gotten an answer
there)

Maia 1.0.4 on FreeBSD running as user vscan. User vscan's crontab
includes this line:

0 * * * * /usr/local/share/maia/scripts/process-quarantine.pl --learn
--report > /dev/null

Around once a day or so, and not at any particular time I can discern,
the cron job fails with errors like this:

bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists
bayes: cannot open bayes databases /var/maiad/.spamassassin/bayes_* R/W:
lock failed: File exists

How to address the locking issue?

Thanks!

dn

_______________________________________________
Maia-users mailing list
[email protected]
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users

_______________________________________________
Maia-users mailing list
[email protected]
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.