On Thu, Sep 07, 2006 at 11:27:36AM +0200, Bo Mellberg wrote:
> max:/#sa-learn -D --sync
> 
> which would upgrade the db from version 0 to version 2.

FWIW, the upgrade occurs anytime a DB write is attempted, --sync just
forces a write.

> [25567] dbg: bayes: found bayes db version 0
> [25567] dbg: bayes: detected bayes db format 0, upgrading
> [25567] dbg: bayes: upgrading database format from v0 to v2
> [25567] dbg: locker: refresh_lock: refresh /root/.spamassassin/bayes.lock
> [25567] dbg: locker: refresh_lock: refresh /root/.spamassassin/bayes.lock
> [25567] dbg: locker: refresh_lock: refresh /root/.spamassassin/bayes.lock
> [25567] dbg: locker: refresh_lock: refresh /root/.spamassassin/bayes.lock
> 
> The last row just keeps repeating itself until I ctrl-C out of it.

Nothing seems crazy so far -- the upgrade may take a long time if there
are a lot of tokens, so SA refreshes the lock periodically so it doesn't
loose it.

What does "sa-learn --dump magic" say?

-- 
Randomly Generated Tagline:
"Today is going to be one of those days, isn't it?  Wait a minute... It's 
 4pm... It *IS* one of those days..."         - Theo

Attachment: pgpNIUeAeYfY8.pgp
Description: PGP signature

Reply via email to