Linda Walsh wrote:
In my .spamassassin dir, I see lots of files that look like:
bayes_toks.expire1098 bayes_toks.expire1243 bayes_toks.expire13494
<snip>
They are all a few hundred K or more long (just deleted the bunch).
I've also noticed spamd going off and cranking for more than an hour
-- seems to
produce one of these files...
Any idea what they are for?
They are a tempfile SA creates when it's trying to expire old tokens out
of your database. IIRC, it essentially creates a new DB with just the
tokens it wants, nukes the old one, and renames the tempfile.
or why SA would keep leaving them in my .sa (user) dir?
The fact that they keep laying around is a problem. This suggests SA
keeps getting killed before the expire can complete. Do you have any
kind of limits set such as CPU time or memory that SA might be running
against and dying?
You can try kicking off an expire manually using sa-learn
--force-expire. (add -D if you want some debug output)..
note: this could run for a long time, particularly if bayes_toks is
really large.