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
SA uses EXclusive lock because it has "to write"... my question is... Is there any way to avoid SA writing Bayes files? in that case a non-exclusive lock would be enough...
Thanks!
Pedro.
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
SA uses EXclusive lock because it has "to write"... my question is... Is there any way to avoid SA writing Bayes files? in that case a non-exclusive lock would be enough...
Thanks!
Pedro.