On Tue, Jul 20, 2004 at 11:39:34AM -0400, Kris Deugau wrote:
> I think you've got bigger problems.  This looks like SA is reading your
> sendmail.cf file for some reason.

Yeah, you should be using /etc/mail/spamassassin, not /etc/mail ...

> > debug: bayes: 8213 tie-ing to DB file R/O
> > /usr/local/share/spamassassin/run/bayes_toks
> 
> > debug: bayes: 8213 tie-ing to DB file R/W
> > /usr/local/share/spamassassin/run/bayes_toks
> 
> Er...  This is odd.  Supposedly it already did this...

It went R/O before to see if it could do a scan.  To do a sync/expire
it needs to go R/W which requires the DB lock, etc.

> > debug: bayes: expiry check keep size, 75% of max: 112500
> > debug: bayes: token count: 2273369, final goal reduction size: 2160869
> > debug: bayes: First pass?  Current: 1090317975, Last: 1090299462,
> > atime: 736899888, count: 0, newdelta: 0, ratio: 0
> > debug: bayes: something fishy, calculating atime (first pass)

This is going to take quite a while, btw.  It wants to figure out how to
expire almost 2.2 million tokens from your ~2.3 million token db.
It looks like expiry hasn't been able to complete in a while. :(

> a medium-size site Bayes should be ~40M _toks + whatever _seen takes
> up;  and a large sitewide Bayes may run up to ~100M.  I wouldn't go much
> higher due to the IO/memory/filesystem cache load.

IMO, BTW, if you're going to do sitewide, and it's a large db file,
just put the bayes db in sql (3.0 feature).  You'll probably use less
resources and get better performance.

-- 
Randomly Generated Tagline:
Love isn't hopeless.  Look, maybe I'm no expert on the subject, but there
 was one time I got it right.
 
                -- Homer Simpson
                   Another Simpson's Clip Show

Attachment: pgpsuaXbip2lO.pgp
Description: PGP signature

Reply via email to