SA-LEARN Keeps crashing at DBM.pm Line 624

Scott Silva ssilva at SGVWATER.COM
Wed Dec 14 15:59:41 GMT 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Marc Dufresne spake the following on 12/14/2005 6:11 AM:
> FreeBSD 5.4 
> Perl 5.8.7
> MailScanner 4.44.6
> SA3.1
> 
> Does anyone have any ideas on how to resolve this issue. Searched the
> net and I can't find anything.
> 
> Over the last couple of days, when I try to run sa-learn against my
> spam mailbox, I receive the following error:
> 
> sa-learn --spam --force-expire --mbox /var/mail/spammail
> bayes: expire_old_tokens: Out of memory during ridiculously large
> request at
> /usr/local/lib/perl5/site_perl/5.8.7/Mail/SpamAssassin/BayesStore/DBM.pm
> line 624.
> 
> Here are my stats for 
> 
> sa-learn --dump magic
> 0.000          0          3          0  non-token data: bayes db
> version
> 0.000          0       3016          0  non-token data: nspam
> 0.000          0      11613          0  non-token data: nham
> 0.000          0     309357          0  non-token data: ntokens
> 0.000          0 1133683248          0  non-token data: oldest atime
> 0.000          0 1134569167          0  non-token data: newest atime
> 0.000          0          0          0  non-token data: last journal
> sync atime
> 0.000          0 1134029107          0  non-token data: last expiry
> atime
> 0.000          0     345600          0  non-token data: last expire
> atime delta
> 0.000          0      90997          0  non-token data: last expire
> reduction count
> 
> Any ideas????
Try and not run the --force-expire and the learn -ham in the same
command. Run them separately instead.
sa-learn --force-expire
sa-learn --spam --mbox /var/mail/spammail

-- 

/-----------------------\           |~~\_____/~~\__  |
| MailScanner; The best |___________ \N1____====== )-+
| protection on the net!|                   ~~~|/~~  |
\-----------------------/                      ()

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list