cannot dump wordlist

Matej Cepl ceplm at seznam.cz
Sun Dec 4 03:47:33 CET 2005


David Relson wrote:
> How large is your wordlist.db?  What version of db4 do you have.
> (Command "bogofilter -V" will give that information.)

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$ ls -lh
total 41M
-rw-r--r--    1 ceplovi  ceplovi        48 Dec  4 03:44 DB_CONFIG
-rw-r--r--    1 ceplovi  ceplovi      8.0k Dec  4 03:45 __db.001
-rw-r--r--    1 ceplovi  ceplovi      264k Dec  4 03:45 __db.002
-rw-r--r--    1 ceplovi  ceplovi       96k Dec  4 03:17 __db.003
-rw-r--r--    1 ceplovi  ceplovi      312k Dec  4 03:45 __db.004
-rw-r--r--    1 ceplovi  ceplovi      8.0k Dec  4 03:45 __db.005
-rw-r--r--    1 ceplovi  ceplovi         0 Jul  2 20:16 lockfile-d
-rw-r--r--    1 ceplovi  ceplovi      1.0k Dec  4 03:45 lockfile-p
-rw-------    1 ceplovi  ceplovi      1.0M Dec  4 03:09 log.0000000394
-rw-------    1 ceplovi  ceplovi      3.0k Dec  4 03:17 log.0000000395
-rw-r--r--    1 ceplovi  ceplovi       37M Dec  4 03:17 wordlist.db
-rw-r--r--    1 ceplovi  ceplovi      2.0M Dec  4 03:45 wordlist.db.txt
ceplovi at ns:~/.bogofilter/matej$ bogofilter -V
bogofilter version 0.93.5
    Database: Sleepycat Software: Berkeley DB 3.2.9: (April  7, 2002)
Copyright (C) 2002-2004 Eric S. Raymond,
    David Relson, Matthias Andree, Greg Louis

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$

> To see what files a program is accessing, I often use strace.  Running
> "strace -feopen bogoutil -d wordlist.db" will provide lots of info,
> including whether DB_CONFIG is being looked for when you run bogoutil.

I will try it.

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej/blog/
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
Besides, the determined Real Programmer can write Fortran
programs in any language.
      -- Ed Post, Real Programmers Don't Use Pascal





More information about the Bogofilter mailing list