Re: SA-LEARN Keeps crashing at DBM.pm Line 624

2005-12-16 Thread Kent Stewart
On Friday 16 December 2005 08:18 am, Adi Pircalabu wrote:
> On Fri, 16 Dec 2005 08:24:19 -0500
>
> "Marc Dufresne" <[EMAIL PROTECTED]> wrote:
> > 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/D
> >BM.pm line 624.
>
> Try to run sa-learn with same arguments on other mbox(es) (e.g. from
> spamarchive.org). Do you still get the error?

They updated spam assassin yesterday to fix a problem with a missing 
dependancy for sa-update. I would cvsup and update it. Your problem may 
be part of the problem. Even if it doesn't help, you need to be using 
what eveyone is now using.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SA-LEARN Keeps crashing at DBM.pm Line 624

2005-12-16 Thread Adi Pircalabu
On Fri, 16 Dec 2005 08:24:19 -0500
"Marc Dufresne" <[EMAIL PROTECTED]> wrote:

> 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.

Try to run sa-learn with same arguments on other mbox(es) (e.g. from
spamarchive.org). Do you still get the error?

-- 
Adi Pircalabu (PGP Key ID 0x04329F5E)


-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SA-LEARN Keeps crashing at DBM.pm Line 624

2005-12-16 Thread Chris

On Fri, 16 Dec 2005, Wojciech Puchar wrote:


Since my installation of MailScanner I have always been able to use
sa-learn --spam --force-expire --mbox /var/mail/spammail with no
issues.

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.



uname -a - how much memory it allows?

anyway - something is wrong in spamassassin so it needs so much memory - and 
that's question for spamassassin authors.




Is this an assumption or fact? If fact, please point us to the data.


Best regards,
Chris

Never create a problem for which you do not have
the answer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SA-LEARN Keeps crashing at DBM.pm Line 624

2005-12-16 Thread Wojciech Puchar

Since my installation of MailScanner I have always been able to use
sa-learn --spam --force-expire --mbox /var/mail/spammail with no
issues.

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.



uname -a - how much memory it allows?

anyway - something is wrong in spamassassin so it needs so much memory - 
and that's question for spamassassin authors.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


SA-LEARN Keeps crashing at DBM.pm Line 624

2005-12-16 Thread Marc Dufresne
Posted this on the MailScanner Forum. I was told to post this also on
the FreeBSD Questions Forum or SpamAssassin Forum. 

Hope this is the right forum

Brief History on OS I'm using.

FreeBSD 5.4 
Perl 5.8.6
Installed MailScanner 4.44.6 and everything else using 
Install-Clam-SA.tar.gz from
http://www.sng.ecs.soton.ac.uk/mailscanner/downloads.shtml 

MailScanner, SpamAssassin and Sendmail all working fine. The only
problem I am having is with SA-LEARN.

Problem:
Since my installation of MailScanner I have always been able to use
sa-learn --spam --force-expire --mbox /var/mail/spammail with no
issues.

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.

I have tried everything to resolve this issue. As my last resort, I
installed Portmanager on FreeBSD to manage my ports tree. When I ran
Portmanager, it upgraded Perl to 5.8.7. 

After the upgrade, I had to run the perl-after-upgrade utility to
ensure all of my apps see the new version of Perl. This is the commands
I used:

perl-after-upgrade 
perl-after-upgrade -f 

Even after the upgrade and I verified that MailScanner, SA and sendmail
were working, I ran sa-learn --spam --force-expire --mbox
/var/mail/spammail again. I still received the same error. I also have
tried to separate the commands as follows:

sa-learn --force-expire
sa-learn --spam --mbox /var/mail/spammail

It crashes with the same error after I execute the --force-expire
command.

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

Right  now, I'm using Portmanager -u -l upgrade all ports again and to
verify all ports are installed correctly. 

I don't want to re-install Perl 5.8.7 again, since individuals have
said it might fail.

Any ideas on what I can do from here


Marc Dufresne, Corporate IT Officer
St. Lawrence Parks Commission
13740 County Road 2
Morrisburg, ON  K0C 1X0

E-mail: [EMAIL PROTECTED]
Voice: 613-543-3704  Ext#2455
Fax: 613-543-2847
Corporate website: www.parks.on.ca
BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Marc Dufresne
TEL;WORK:613-543-3704
ORG:;Information Technology
TEL;PREF;FAX:613-543-2847
EMAIL;WORK;PREF;NGW:[EMAIL PROTECTED]
N:Dufresne;Marc
TITLE:Corporate IT Officer
END:VCARD

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"