RV: Problem with BayesDB?

David Lee t.d.lee at DURHAM.AC.UK
Mon Jan 17 17:29:12 GMT 2005


    [ The following text is in the "X-UNKNOWN" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

On Mon, 17 Jan 2005, [iso-8859-1] Ricardo Luis Cañavate wrote:

> Dennis is trying to help me but my server is at point to crash. Now the
> partition it is at 97%.
>
> Please, please, please.
>
> Could someone help me with bayes_toks.expire...

What follows is my experience.  It doesn't necessarily reflect best 
practice.

The quick (and, I suspect, not as clean as desirable) fix is periodically 
to remove those "bayes_toks.expire*" files.


We, too, had this problem (with reasonably up-to-date MS including 4.37.7, 
and versions of SA including 2.63 and 3.0.2).  Our MailScanner.conf has:
    Rebuild Bayes Every = 3600
    Wait During Bayes Rebuild = yes

but, despite the "Wait During...", we still got these "bayes_toks.expire*" 
files on busy machines.  A few days ago, I changed "SpamAssassin Timeout"
from 40 to 120 and the problem seems to have gone away.

My simple expectation was that "Wait During Bayes Rebuild = yes" would 
have been sufficient to let the rebuild run to completion.  But it appears 
that it is insufficient, and that something else, somewhere else, 
goverened by "SpamAssassin Timeout", happens that aborts the rebuild 
regardless.

So increasing "SpamAssassin Timeout" might be worth a try.

Meanwhile, if anyone else has a good, clean explanation (and solution) 
that can be placed in the FAQ (or is there a bug to be fixed?), I'm sure 
that it would be most welcome by several people.


-- 

:  David Lee                                I.T. Service          :
:  Senior Systems Programmer                Computer Centre       :
:                                           University of Durham  :
:  http://www.dur.ac.uk/t.d.lee/            South Road            :
:                                           Durham                :
:  Phone: +44 191 334 2752                  U.K.                  :

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!


More information about the MailScanner mailing list