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/10 07:24:54 UTC

[Bug 2918] New: Bayes db does not expires

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

           Summary: Bayes db does not expires
           Product: Spamassassin
           Version: 2.61
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Learner
        AssignedTo: spamassassin-dev@incubator.apache.org
        ReportedBy: lan@ac-sw.com


I have SA version 2.61 and by bayers db does not expires automaticly nor manualy.
I have this line inmy /etc/mail/spamassassin/local.cf

bayes_expiry_max_db_size 750000

Dump of magics my sa-learn:
0.000          0          2          0  non-token data: bayes db version
0.000          0       8089          0  non-token data: nspam
0.000          0      36108          0  non-token data: nham
0.000          0     755819          0  non-token data: ntokens
0.000          0 1062407317          0  non-token data: oldest atime
0.000          0 1073693567          0  non-token data: newest atime
0.000          0 1073711686          0  non-token data: last journal sync atime
0.000          0 1073686762          0  non-token data: last expiry atime
0.000          0          0          0  non-token data: last expire atime delta
0.000          0          0          0  non-token data: last expire reduction count

running sa-learn -D --force-expire:
...
debug: Final PATH set to:
/usr/java/j2sdk1.4.1_02/bin:/opt/IBMJava2-131/bin:/usr/java/j2sdk1.4.1_02/bin:/opt/IBMJava2-131/bin:/home/lan/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/opt/kde2/bin:/usr/lib/java/bin:/opt/gnome/bin
debug: using "/usr/share/spamassassin" for default rules dir
debug: using "/etc/mail/spamassassin" for site rules dir
debug: using "/home/lan/.spamassassin/user_prefs" for user prefs file
debug: bayes: 14130 tie-ing to DB file R/O /home/lan/.spamassassin/bayes_toks
debug: bayes: 14130 tie-ing to DB file R/O /home/lan/.spamassassin/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: 14130 created /home/lan/.spamassassin/bayes.lock.lan.ac-sw.com.14130
debug: lock: 14130 trying to get lock on /home/lan/.spamassassin/bayes with 0
retries
debug: lock: 14130 link to /home/lan/.spamassassin/bayes.lock: link ok
debug: bayes: 14130 tie-ing to DB file R/W /home/lan/.spamassassin/bayes_toks
debug: bayes: 14130 tie-ing to DB file R/W /home/lan/.spamassassin/bayes_seen
debug: bayes: found bayes db version 2

synced Bayes databases from journal in 0 seconds: 55 unique entries (55 total
entries)
debug: bayes: expiry check keep size, 75% of max: 562500
debug: bayes: token count: 755819, final goal reduction size: 193319
debug: bayes: First pass?  Current: 1073712341, Last: 1073686762, atime: 0,
count: 0, newdelta: 0, ratio: 0
debug: bayes: something fishy, calculating atime (first pass)
debug: bayes: couldn't find a good delta atime, need more token difference,
skipping expire.
debug: Syncing complete.
debug: bayes: 14130 untie-ing
debug: bayes: 14130 untie-ing db_toks
debug: bayes: 14130 untie-ing db_seen
debug: bayes: files locked, now unlocking lock
debug: unlock: 14130 unlink /home/lan/.spamassassin/bayes.lock



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