Hi,
 
I'm still trying to reduce the size of our bayes database.  I've tried putting bayes_expiry_max_db_size 1000000 into local.cf and restarting services - this didn't have much effect
 
tried sa-learn -D --force-expire
 
debug: bayes: 85211 tie-ing to DB file R/O /usr/local/share/spamassassin/run/bayes_toks
debug: bayes: 85211 tie-ing to DB file R/O /usr/local/share/spamassassin/run/bayes_seen
debug: bayes: found bayes db version 2
debug: Score set 2 chosen.
debug: Initialising learner
debug: Initialising learner
debug: Syncing Bayes journal and expiring old tokens...
debug: lock: 85211 created /usr/local/share/spamassassin/run/bayes.lock.mss-mail-in-5.dnsmss.net.85211
debug: lock: 85211 trying to get lock on /usr/local/share/spamassassin/run/bayes with 0 retries
debug: lock: 85211 link to /usr/local/share/spamassassin/run/bayes.lock: link ok
debug: bayes: 85211 tie-ing to DB file R/W /usr/local/share/spamassassin/run/bayes_toks
debug: bayes: 85211 tie-ing to DB file R/W /usr/local/share/spamassassin/run/bayes_seen
debug: bayes: found bayes db version 2
.
synced Bayes databases from journal in 0 seconds: 1189 unique entries (2058 total entries)
debug: bayes: expiry check keep size, 75% of max: 750000
debug: bayes: token count: 3776622, final goal reduction size: 3026622
debug: bayes: First pass?  Current: 1091720305, Last: 1091699424, atime: 736899888, count: 0, newdelta: 0, ratio: 0
debug: bayes: something fishy, calculating atime (first pass)
 
hangs for some time..........
 
debug: bayes: couldn't find a good delta atime, need more token difference, skipping expire.
debug: Syncing complete.
debug: bayes: 85211 untie-ing
debug: bayes: 85211 untie-ing db_toks
debug: bayes: 85211 untie-ing db_seen
debug: bayes: files locked, now unlocking lock
unlock: 85211 unlink failed: /usr/local/share/spamassassin/run/bayes.lock
debug: unlock: 85211 unlink /usr/local/share/spamassassin/run/bayes.lock
 
How can I make my tokens expire!
 
Thanks,
 
Zoe



---------------------------------------------------
This email from dns has been validated by dnsMSS Managed Email Security and is free from all known viruses.

For further information contact [EMAIL PROTECTED]



Reply via email to