cannot dump wordlist

David Relson relson at osagesoftware.com
Sat Dec 3 21:52:12 CET 2005


On Sat, 03 Dec 2005 10:52:23 -0500
Matej Cepl wrote:

> ceplovi at ns:~/.bogofilter/matej$ bogoutil
> --db-prune /home/ceplovi/.bogofilter/matej/
> ceplovi at ns:~/.bogofilter/matej$ ls
> __db.001  __db.003  __db.005    lockfile-p      wordlist.db
> __db.002  __db.004  lockfile-d  log.0000000394  wordlist.db.txt
> ceplovi at ns:~/.bogofilter/matej$ bogoutil -d wordlist.db > wordlist.db.txt
> Lock table is out of available locks
> bogoutil: (c_get): Cannot allocate memory
> error dumping tokens!
> ceplovi at ns:~/.bogofilter/matej$ bogoutil -V
> bogoutil version 0.93.5
>     Database: Sleepycat Software: Berkeley DB 3.2.9: (April  7, 2002)
> Copyright (C) 2002-2004 Gyepi Sam, David Relson, Matthias Andree
> 
> bogofilter comes with ABSOLUTELY NO WARRANTY.  This is free software, and
> you are welcome to redistribute it under the General Public License.  See
> the COPYING file with the source distribution for details.
> ceplovi at ns:~/.bogofilter/matej$ free
>              total       used       free     shared    buffers     cached
> Mem:        127236     122272       4964      99432      34376      51724
> -/+ buffers/cache:      36172      91064
> Swap:       996020      11748     984272
> ceplovi at ns:~/.bogofilter/matej$
> 
> Using Debian 3.1 on remote server (no, I cannot upgrade). What should I do
> to dump my database?
> 
> Thanks for any help,
> 
> Matej

Hi Matej,

Locking is controlled by config file values for db_lk_max_locks and
db_lk_max_objects.  You need to edit your bogofilter.cf and increase
the values.

Due to the need for manual intervention when object and lock limits are
reached, bogofilter has stopped using these locks and has returned to
the older "single lock per wordlist" method.

It's OK to stick with version 0.93.5, but I'd recommend upgrading to
1.0.0.

HTH,

Davd




More information about the Bogofilter mailing list