You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Tom Brown <to...@goodtechnology.com> on 2006/01/31 13:33:12 UTC

SpamAssassin 3.1.0 - Amavisd

Hi

Got a box that is pretty quite only getting through a few hundred mail 
per day - I would say on average i get about 2 or 3 of these errors each 
day. Is there a way to make the bayes aspect of SA more efficient?

thanks

Jan 27 14:28:50 xxxx amavis[4833]: (04833-08) SA TIMED OUT, backtrace: 
at /usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/BayesStore/DBM.pm 
line 1858\n\teval {...} called at 
/usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/BayesStore/DBM.pm line 
1858\n\tMail::SpamAssassin::BayesStore::DBM::tok_unpack('Mail::SpamAssassin::BayesStore::DBM=HASH(0xa0c1098)', 
'\\x{c1}j\\x{16}\\x{8d}C') called at 
/usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/BayesStore/DBM.pm line 
685\n\tMail::SpamAssassin::BayesStore::DBM::token_expiration('Mail::SpamAssassin::BayesStore::DBM=HASH(0xa0c1098)', 
'undef', 2764800, 0, 905, 5574, 188584, 1138328745, 1132758779, ...) 
called at /usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/BayesStore.pm 
line 
370\n\tMail::SpamAssassin::BayesStore::expire_old_tokens_trapped('Mail::SpamAssassin::BayesStore::DBM=HASH(0xa0c1098)', 
'undef') called at 
/usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/BayesStore.pm line 
214\n\teval {...} c...


Re: SpamAssassin 3.1.0 - Amavisd

Posted by Mark Martinec <Ma...@ijs.si>.
Tom,

> > ... or switch bayes db to SQL, where auto-expire is much faster
> > and is no longer an issue.
>
> i would prefer to go this route if possible - are there any good
> how-to's that deal with making this switch?

Mail-SpamAssassin-3.1.0/sql/README*

  Mark

Re: SpamAssassin 3.1.0 - Amavisd

Posted by Tom Brown <to...@goodtechnology.com>.
> ... or switch bayes db to SQL, where auto-expire is much faster
> and is no longer an issue.

i would prefer to go this route if possible - are there any good 
how-to's that deal with making this switch?

thanks


Re: SpamAssassin 3.1.0 - Amavisd

Posted by Mark Martinec <Ma...@ijs.si>.
Tom,

From Loren Wilton:
> Run a force-expire manually from a cron job and turn off auto expire.

... or switch bayes db to SQL, where auto-expire is much faster
and is no longer an issue.

  Mark

Re: SpamAssassin 3.1.0 - Amavisd

Posted by Loren Wilton <lw...@earthlink.net>.
> Got a box that is pretty quite only getting through a few hundred mail 
> per day - I would say on average i get about 2 or 3 of these errors each 
> day. Is there a way to make the bayes aspect of SA more efficient?

Run a force-expire manually from a cron job and turn off auto expire.

Alternately, change the Amvis timeout for SA.

        Loren