You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Fred <te...@i-is.com> on 2005/12/27 23:28:25 UTC

Issue with expiry

On a workstation which I use for developing rules, my bayes DB is in need of
expire and I'm having troubles.

[992] dbg: bayes: found bayes db version 3
[992] dbg: locker: refresh_lock: refresh /SpamAssassin/bayes.lock
[992] dbg: bayes: expiry check keep size, 0.75 * max: 187500
[992] dbg: bayes: token count: 402617, final goal reduction size: 215117
[992] dbg: bayes: first pass?  current: 1135722188, Last: 1135722086, atime:
276
4800, count: 4492, newdelta: 57733, ratio: 47.8889136242208, period: 43200
[992] dbg: bayes: can't use estimation method for expiry, unexpected result,
cal
culating optimal atime delta (first pass)
[992] dbg: bayes: expiry max exponent: 9
[992] dbg: bayes: atime_token reduction
[992] dbg: bayes: ========_===============
[992] dbg: bayes: 43200_396811
[992] dbg: bayes: 86400_396811
[992] dbg: bayes: 172800_395648
[992] dbg: bayes: 345600_390163
[992] dbg: bayes: 691200_370409
[992] dbg: bayes: 1382400_349837
[992] dbg: bayes: 2764800_307325
[992] dbg: bayes: 5529600_0
[992] dbg: bayes: 11059200_0
[992] dbg: bayes: 22118400_0
[992] dbg: bayes: couldn't find a good delta atime, need more token
difference,
skipping expire
[992] dbg: bayes: expiry completed

SpamAssassin version 3.2.0-r322462
  running on Perl version 5.8.7

I haven't ran sa-learn --force-expire in a few weeks I'm guessing.  What can
I do to make this expire again?

Thank you,

Frederic Tarasevicius
Internet Information Services, Inc.
http://www.i-is.com/
810-794-4400


Re: Issue with expiry

Posted by Theo Van Dinter <fe...@apache.org>.
On Tue, Dec 27, 2005 at 05:28:25PM -0500, Fred wrote:
> [992] dbg: bayes: expiry check keep size, 0.75 * max: 187500
> [992] dbg: bayes: token count: 402617, final goal reduction size: 215117
> [992] dbg: bayes: 2764800_307325
> [992] dbg: bayes: 5529600_0
> 
> I haven't ran sa-learn --force-expire in a few weeks I'm guessing.  What can
> I do to make this expire again?

Unfortunately, SA can't find the right atime delta to use for expiry, so it
can't do the expire.  The only real option is to leave it, or learn from a
bunch of new mails and try again (the more tokens which are "new", the more
likely SA is to be able to expire.)

-- 
Randomly Generated Tagline:
"... and what do we have on this thing ..?  a cuisinart?" - Space Balls