You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Mike Fahey <mf...@enter.net> on 2008/03/25 22:21:08 UTC
cannot open bayes databases /var/sabayes/bayes_* R/W: lock failed
Every 24 hours, the following message scrolls in the log
sa stop processing and I have to stop sa, remove bayes* and restart it.
bayes: cannot open bayes databases /var/sabayes/bayes_* R/W: lock
failed: Interrupted system call
Contents of bayes directory.
6756 bayes.mutex
2474884 bayes_journal
10399744 bayes_seen
81756160 bayes_toks
18804736 bayes_toks.expire55880
10989568 bayes_toks.expire56051
19247104 bayes_toks.expire56167
18370560 bayes_toks.expire56194
20787200 bayes_toks.expire56201
17412096 bayes_toks.expire56217
20381696 bayes_toks.expire56225
19283968 bayes_toks.expire56230
19611648 bayes_toks.expire56239
18329600 bayes_toks.expire56363
I have replaced ram,cpu.
I have upgraded to freebsd 6.3.
Upgrade spamassassin3.2.0 to SpamAssassin-3.2.4_2
Same problem occurs.
sa options: -m 35 --min-spare=7 -max-spare=10
Is this hardware or software?
Re: cannot open bayes databases /var/sabayes/bayes_* R/W: lock failed
Posted by John Hardin <jh...@impsec.org>.
On Tue, 25 Mar 2008, Mike Fahey wrote:
> Every 24 hours, the following message scrolls in the log
> sa stop processing and I have to stop sa, remove bayes* and restart it.
>
> 18804736 bayes_toks.expire55880
> 10989568 bayes_toks.expire56051
> 19247104 bayes_toks.expire56167
> 18370560 bayes_toks.expire56194
> 20787200 bayes_toks.expire56201
> 17412096 bayes_toks.expire56217
Turn off automatic bayes expiry and expire using a cron job. See the list
archives for discussions of this topic.
You can get rid of the bayes_toks.expire* files.
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
False is the idea of utility that sacrifices a thousand real
advantages for one imaginary or trifling inconvenience; that would
take fire from men because it burns, and water because one may drown
in it; that has no remedy for evils except destruction. The laws
that forbid the carrying of arms are laws of such a nature. They
disarm only those who are neither inclined nor determined to commit
crime. -- Cesare Beccaria, quoted by Thomas Jefferson
-----------------------------------------------------------------------
19 days until Thomas Jefferson's 265th Birthday