Michael Scheidell wrote:

> On 1/19/11 7:56 AM, Helmut Schneider wrote:
> > Michael Scheidell wrote:
> > 
> > > On 1/19/11 6:04 AM, Helmut Schneider wrote:
> > > > bayes_auto_expire                       1
> > > disable auto expire and run a cronjob.
> > OK...but..why? :)
> > 
> to fix your problem.

[helmut@BSDHelmut ~]$ sudo sa-learn --force-expire -D | grep bayes
[...]
Jan 19 14:11:48.275 [4221] dbg: bayes: bayes journal sync starting
Jan 19 14:11:48.275 [4221] dbg: bayes: bayes journal sync completed
Jan 19 14:11:48.276 [4221] dbg: plugin:
Mail::SpamAssassin::Plugin::Bayes=HASH(0x804a24a08) implements
'learner_expire_old_training', priority 0
Jan 19 14:11:48.276 [4221] dbg: bayes: expiry starting
Jan 19 14:11:48.277 [4221] dbg: bayes: expiry check keep size, 0.75 *
max: 225000
Jan 19 14:11:48.277 [4221] dbg: bayes: token count: 644941, final goal
reduction size: 419941
Jan 19 14:11:48.278 [4221] dbg: bayes: first pass? current: 1295442708,
Last: 1295442672, atime: 0, count: 0, newdelta: 0, ratio: 0, period:
43200
Jan 19 14:11:48.278 [4221] dbg: bayes: can't use estimation method for
expiry, unexpected result, calculating optimal atime delta (first pass)
Jan 19 14:11:48.278 [4221] dbg: bayes: expiry max exponent: 9
Jan 19 14:11:48.280 [4221] dbg: bayes: atime token reduction
Jan 19 14:11:48.281 [4221] dbg: bayes: ======== ===============
Jan 19 14:11:48.281 [4221] dbg: bayes: 43200 640988
Jan 19 14:11:48.281 [4221] dbg: bayes: 86400 635805
Jan 19 14:11:48.281 [4221] dbg: bayes: 172800 629424
Jan 19 14:11:48.282 [4221] dbg: bayes: 345600 623333
Jan 19 14:11:48.282 [4221] dbg: bayes: 691200 620466
Jan 19 14:11:48.282 [4221] dbg: bayes: 1382400 620466
Jan 19 14:11:48.282 [4221] dbg: bayes: 2764800 620466
Jan 19 14:11:48.283 [4221] dbg: bayes: 5529600 620466
Jan 19 14:11:48.283 [4221] dbg: bayes: 11059200 620466
Jan 19 14:11:48.283 [4221] dbg: bayes: 22118400 620466
Jan 19 14:11:48.283 [4221] dbg: bayes: couldn't find a good delta
atime, need more token difference, skipping expire
Jan 19 14:11:48.284 [4221] dbg: bayes: expiry completed
Jan 19 14:11:48.284 [4221] dbg: plugin:
Mail::SpamAssassin::Plugin::Bayes=HASH(0x804a24a08) implements
'learner_close', priority 0
[helmut@BSDHelmut ~]$

Corrupted database?!

> plus auto expire can seriously degrade the performance of your system
> during peak times.  run at during maint (slow, quiet) period.

OK.

Reply via email to