"error" message
Rodney D. Myers
rdmyers at MtPalomar.net
Fri Nov 12 20:37:03 CET 2004
On Fri, 12 Nov 2004 13:36:23 -0500
David Relson <relson at osagesoftware.com> wrote:
> On Fri, 12 Nov 2004 10:26:15 -0800
> Rodney D. Myers wrote:
>
> > I was messing around with the command line options for
> > bogofilter-0.93.1, on my debian sarge system.
> >
> > I ran this from the shell, and below that is the error message;
> >
> > bogofilter -svvv -B /home/rodney/Mail/spam-counted/
> > # 2065784 words, 5588 messages
> > Lock table is out of available locks
> > bogofilter: (db) DB->get(TXN=143053320, 'to:uschwarz' ), err: 12,
> > Cannot allocate memory
> >
> > any ideas?
> >
> > Thanks
>
> Rodney,
>
> Yep. You've got a large database and need to notifiy BerkelyDB of the
> fact. You need to supply a larger "max locks" value. This can be
> done using option db_lk_max_objects in bogofilter.cf or
> db_lk_max_objects in DB_CONFIG. Look at bogofilter.cf.example and
> README.db for details.
>
> David
Thanks. Got that working now. I know I "should' RTFM. but when
upgrading, things just worked, until now.
Once more encounter that I am unable to get around.
I've streamlined my training script, finally, but so far cannot get
bogofilter to recurse deeper than 1 or 2 directories deep.
My archive directory is structured like this;
/home/rodney/Mail/old-archives/anti-m$/2001/
/home/rodney/Mail/old-archives/anti-m$/2002/
/home/rodney/Mail/old-archives/anti-m$/2003/
/home/rodney/Mail/old-archives/anti-m$/2004/
/home/rodney/Mail/old-archives/arrl-letter/2001/
/home/rodney/Mail/old-archives/arrl-letter/2002/
/home/rodney/Mail/old-archives/arrl-letter/2003/
/home/rodney/Mail/old-archives/arrl-letter/2004/
/home/rodney/Mail/old-archives/arrl-other/2001/
/home/rodney/Mail/old-archives/arrl-other/2002/
/home/rodney/Mail/old-archives/arrl-other/2003/
Using "bogofilter -nvvv -B " on the individual directories works, just
annoying to maintain. I attempted to use "bogofilter -nvvv -B
/home/rodney/Mail/old-archives/*, but this does not recurse into the
deeper directories.
Did I miss something, or will this not work?
Thanks again
--
Rodney D. Myers <rdmyers at MtPalomar.net>
Registered Linux User #96112
ICQ#: AIM#: YAHOO:
18002350 mailman452 mailman42_5
They that can give up essential liberty to obtain a
little temporary safety deserve neither liberty nor safety.
Ben Franklin - 1759
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://www.bogofilter.org/pipermail/bogofilter/attachments/20041112/75f66287/attachment.sig>
More information about the Bogofilter
mailing list