Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: spamd keeps running at 99% CPU until i kill the process

From: Anthony Peacock <a.peacock(at)chime.ucl.ac.uk>
Date: Wed Aug 29 2007 - 04:46:00 EDT


Hi,

Richard Hobbs wrote:
> Hello,

<SNIP>

>>>
>>> Is this all correct?
>> Yes.  Set up expiration in a cron job, once per day is usually fine.

>
> OK, will do - i assume "sa-learn --force-expire" is the command to run
> via cron, right?

Yup! This is my crontab line:

00 22 * * * /usr/local/bin/sa-learn --force-expire

>
> Also, how do i disable automatic expiration?

Set:

bayes_auto_expire 0

In your local.cf file.

Do you need help?X

>
> Thanks again,
> Richard.
>
>

>>> Would a suitable alternative be to delete "bayes_seen" and "bayes_toks",
>>> then restart spamd? I know i would be deleting everything that had been
>>> learned over the last period of time, but starting afresh may not be a
>>> bad thing, seeing as the rules in the database are probably 6 months to
>>> a year old now (we've not been using spamd for a year or so, because i
>>> broke it and had no time to fix it!).
>>>
>>> Please let me know your thoughts, and also let me know whether deleting
>>> both of those files is a good way to go.
>> No.
>>
>>

>
-- 
Anthony Peacock
CHIME, Royal Free & University College Medical School
WWW:    
http://www.chime.ucl.ac.uk/~rmhiajp/
"A CAT scan should take less time than a PET scan.  For a CAT scan,
  they're only looking for one thing, whereas a PET scan could result in
  a lot of things."    - Carl Princi, 2002/07/19
Received on Wed Aug 29 04:46:48 2007

This archive was generated by hypermail 2.1.8 : Fri Oct 26 2007 - 03:15:42 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library