[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: [vps-mail] Question
- Subject: Re[2]: [vps-mail] Question
- From: Abigail Marshall <webmaster@xxxxxxxxxxxx>
- Date: Wed, 17 Sep 2003 17:30:25 -0700
>> LOL. It definitely is an sa-learn issue - actually I
>> reported it as a bug to Spamassassin, because I can tell
>> already from debugging that if sa-learn encounters an error
>> (inability to access file, time out or out of memory), it
>> will go right ahead and continue it's processes, overwriting
>> data - whereas it really should create a temporary copy of
>> files and simply abort and restore the temp file if any sort
>> of error is encountered.
SW> That's my assessment too. If you're not already subscribed to the
SW> spamassassin developer's list, you might want to. You can then try out
SW> patches and stuff as they become available. That may be more work than
SW> it's worth, though; waiting for the next version will probably be more
SW> painless, especially if you have a workaround.
I think I figured out what is going on. I had noticed that
the problem starts when the bayes_toks file gets to be about
5 meg. I think that what happens is with the larger
database file, when autolearn writes to the file, it
basically takes too long, and on a server with as much
incoming email as mine, it basically runs into a conflict.
Since sa-learn will continue to run after a file access
error, rather than abort, this probably accounts for my
problem.
I've decided to experiment by limiting the size of the
bayes_toks file, with this entry to local.cf:
bayes_expiry_max_db_size 90000
The default entry for this is 150000, which basically can
allow the database to grow to 8 megs.
I'll see if this resolves the problem.
-Abigail
======================================================================
Technical questions regarding this list may be sent to
<vps-mail-owner@xxxxxxxxxxxx>. You may request an automated help
response by sending an email with the word 'help' (w/o quotes) in the
BODY of the message (subject is ignored) to <vps-mail-request@xxxxxxxxxxxx>.
======================================================================
Main Index |
Thread Index