[Mimedefang] Bayes locking fails

Andrzej Marecki amr at astro.uni.torun.pl
Mon Dec 1 08:14:16 EST 2003


Graham Dunn <gdunn at inscriber.com> wrote:

> mimedefang-2.38,
> p5-Mail-SpamAssassin-2.60
> on Freebsd 4.8-STABLE

I'm using the same version of MD & SA unde Solaris with...

> # Enable Bayesian learning
> auto_learn 1
> use_bayes 1
> bayes_path /var/spool/MIMEDefang/bayes
> bayes_file_mode 0666
> 
> 
> I'm getting errors like the following:

I'm starting to get the same errors:

> 
> Nov 28 10:57:16 ureshii mimedefang-multiplexor: Slave 1 stderr: Cannot
> open bayes databases /var/spool/MIMEDefang/bayes_* R/W: lock failed:
> File exists

[...]

when:

[...]

> -rw-rw-rw-  1 mailnull  mailnull  5193728 Nov 28 11:01 bayes_toks

...bayes_toks is getting that large. Plus, the one (or more) slaves
get very busy then.

> I'm not sure where to start troubleshooting.

I suspect this is a problem with sa-learn.

Andrzej
-- 
-----------------------------------------------------------------------------  
Andrzej Marecki                | 
Torun Centre for Astronomy     |   e-mail: amr at astro.uni.torun.pl
N. Copernicus University       |   WWW:    http://www.astro.uni.torun.pl
ul. Gagarina 11                |   tel: +48 56 6113032
PL-87-100 Torun, POLAND        |   fax: +48 56 6113009
-----------------------------------------------------------------------------  
"If Bill Gates actually had to admin his own stuff, he'd shoot himself."
-----------------------------------------------------------------------------  



More information about the MIMEDefang mailing list