You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/01/07 18:02:24 UTC

[Bug 2904] New: bayes wont expire tokens properly

http://bugzilla.spamassassin.org/show_bug.cgi?id=2904

           Summary: bayes wont expire tokens properly
           Product: Spamassassin
           Version: 2.60
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Learner
        AssignedTo: spamassassin-dev@incubator.apache.org
        ReportedBy: adam@sa.dberg.org


It seems that i can not expire any of my tokens, and I am not sure why.

here is my sa-learn --dump magic and the attempt to force-expire in -D 

[root@nydb1 adam]# sa-learn --dump magic
0.000          0          2          0  non-token data: bayes db version
0.000          0      67753          0  non-token data: nspam
0.000          0      24516          0  non-token data: nham
0.000          0    1648100          0  non-token data: ntokens
0.000          0          0          0  non-token data: oldest atime
0.000          0 1103644440          0  non-token data: newest atime
0.000          0 1073474818          0  non-token data: last journal sync atime
0.000          0 1073456071          0  non-token data: last expiry atime
0.000          0    1382400          0  non-token data: last expire atime delta
0.000          0       1019          0  non-token data: last expire reduction count
[root@nydb1 adam]# sa-learn -D --force-expire
debug: Score set 0 chosen.
debug: running in taint mode? yes
debug: Running in taint mode, removing unsafe env vars, and resetting PATH
debug: PATH included '/usr/bin', keeping.
debug: PATH included '/bin', keeping.
debug: PATH included '/usr/sbin', keeping.
debug: PATH included '/sbin', keeping.
debug: PATH included '/usr/bin', keeping.
debug: PATH included '/bin', keeping.
debug: PATH included '/usr/local/bin', keeping.
debug: PATH included '/sbin', keeping.
debug: PATH included '/usr/sbin', keeping.
debug: PATH included '/usr/local/sbin', keeping.
debug: PATH included '/usr/ccs/bin', keeping.
debug: PATH included '/usr/local/mysql/bin', keeping.
debug: PATH included '/usr/ucb', keeping.
debug: Final PATH set to:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/bin:/bin:/usr/local/bi
n:/sbin:/usr/sbin:/usr/local/sbin:/usr/ccs/bin:/usr/local/mysql/bin:/usr/ucb
debug: using "/usr/local/share/spamassassin" for default rules dir
debug: using "/etc/mail/spamassassin" for site rules dir
debug: using "/export/home/adam/.spamassassin/user_prefs" for user prefs file
debug: Allowing user rules!
debug: bayes: 8901 tie-ing to DB file R/O /share/spam/bayes_toks
debug: bayes: 8901 tie-ing to DB file R/O /share/spam/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: 8901 created /share/spam/bayes.lock.nydb1.mxprecise.com.8901
debug: lock: 8901 trying to get lock on /share/spam/bayes with 0 retries
debug: lock: 8901 link to /share/spam/bayes.lock: link ok
debug: bayes: 8901 tie-ing to DB file R/W /share/spam/bayes_toks
debug: bayes: 8901 tie-ing to DB file R/W /share/spam/bayes_seen
debug: bayes: found bayes db version 2
.
synced Bayes databases from journal in 1 seconds: 1697 unique entries (2408
total e ntries)
debug: bayes: expiry check keep size, 75% of max: 750000
debug: bayes: token count: 0, final goal reduction size: -750000
debug: bayes: reduction goal of -750000 is under 1,000 tokens.  skipping expire.
debug: Syncing complete.
debug: bayes: 8901 untie-ing
debug: bayes: 8901 untie-ing db_toks
debug: bayes: 8901 untie-ing db_seen
debug: bayes: files locked, now unlocking lock
debug: unlock: 8901 unlink /share/spam/bayes.lock



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.