spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Hardin <>
Subject Re: Bayes files LOCK
Date Thu, 13 Feb 2020 03:11:01 GMT
On Wed, 12 Feb 2020, Pedro David Marco wrote:

> Hi..
> i am getting  errors from Byes because it is not able to lock Bayes files... 
> Error log is: 
>   bayes: cannot open bayes databases /etc/spamassassin/bayes/bayes_* R/W: lock failed:
Interrupted system call
>  SA tries to lock bayes files always in "EXclusive mode", hence when a 
> sa takes too long, all other processes have to wait for the lock...
> This is my config:
> use_bayes 1bayes_path /etc/spamassassin/bayes/bayesbayes_auto_learn 0bayes_auto_expire
0lock_method flock

Turn off Bayes auto-expire and do that in a cron job.

  John Hardin KA7OHZ              FALaholic #11174     pgpk -a
  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
   People seem to have this obsession with objects and tools as being
   dangerous in and of themselves, as though a weapon will act of its
   own accord to cause harm. A weapon is just a force multiplier. It's
   *humans* that are (or are not) dangerous.
  Today: Abraham Lincoln's and Charles Darwin's 211th Birthdays
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message