Question about time limits
campbell at cnpapers.com
Fri Jun 30 19:25:58 IST 2006
I removed both the /etc/MailScanner/bayes/bayes.mutex and the
/tmp/MS.bayes.rebuild.lock file after stopping MS. They both reappeared
shortly after starting MS, but I see no "SpamAssassin Bayes database rebuild
starting" message in maillog.
I just don't understand how all this works with the two files. This occurred
ages ago with an older release, and the solution was to just delete the
mutex, then do a force-expire. Don't know if this is the same, but if it
gets caught up again, this is just a temp fix.
----- Original Message -----
From: "Steve Campbell" <campbell at cnpapers.com>
To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
Sent: Friday, June 30, 2006 1:58 PM
Subject: Re: Question about time limits
> Post note:
> I also see a /tmp/MS.bayes.rebuild.lock file whose access time is
> constantly being updated, but I see nothing in the maillog to indicate a
> rebuild is running.
> Maybe delete this file after stopping MS?
> ----- Original Message -----
> From: "Steve Campbell" <campbell at cnpapers.com>
> To: "MailScanner mailing list" <mailscanner at lists.mailscanner.info>
> Sent: Friday, June 30, 2006 1:43 PM
> Subject: Question about time limits
>> I've been following the thread on large bayes files, due to the fact that
>> mine is pretty big. I have been having a load average situation that does
>> not follow any particular pattern, and nothing I see triggers the sudden
>> upswing - it just seems to happen.
>> Anyway, I am wondering how a couple of the MailScanner.conf parameters
>> interact with each other, as it doesn't seem to work the way I thought. I
>> hope I tie all of this together in some logical sense below.
>> I have set in MS.conf the following settings:
>> Restart Every = 14400
>> Rebuild Bayes Every = 86400
>> So I restart MS every 6 hours and rebuild bayes files every 24 hours. But
>> Mailwatch says the last expiry was on June 27, 3 days ago. Does the
>> Restart reset the timer for the Rebuild or is the timer determined from
>> the bayes database itself?
>> Two questions then -
>> 1) If the Restart resets the Rebuild timer, then shouldn't the Restart be
>> larger than the Rebuild parm?
>> 2) If the Rebuild timer is determined from the DB itself, how come mine
>> hasn't been triggered for 3 days?
>> Running MS 4.52.2-1 and SA 3.1.1
>> Any clues, please? I believe I have all the other setting properly set in
>> MS.conf and spam.assassin.prefs.conf.
>> Steve Campbell
>> campbell at cnpapers.com
>> Charleston Newspapers
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> Before posting, read http://wiki.mailscanner.info/posting
>> Support MailScanner development - buy the book off the website!
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> Before posting, read http://wiki.mailscanner.info/posting
> Support MailScanner development - buy the book off the website!
More information about the MailScanner