https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6120

           Summary: bayes_toks.expire files created
           Product: Spamassassin
           Version: 3.2.5
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: spamassassin
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Problem:

Numerous bayes_toks.expire24811 files are generated, apparently caused by the
fact that expire process runs during peak hours and times out after five
minutes and generates these files.

Work around:

As mentioned here

http://www200.pair.com/mecham/spam/bayes-maint.txt

the work-around is to set bayes_auto_expire 0, and then run sa-learn as a cron
job.  

Solution:

Change the default spamassassin behavior to mimic this:  either run once a day,
at night time, or figure out a way to LEARN when downtime is, and then run at
that time, or add a configuration parameter in local.cf to specify when is the
best time to run expiry process.  

Whatever you do, the current logic is not working.  It is causing expire
process to run under heavy loads, it times out after 5 minutes, and then you
get this weird behavior of bayes_toks.expire stacking up.


-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to