http://bugzilla.spamassassin.org/show_bug.cgi?id=3326





------- Additional Comments From [EMAIL PROTECTED]  2004-04-28 19:51 -------
after about 7 hours of working on this straight ...

I traced the problem down to seen_put() trying to put the message id into the 
seen database.  if we try 
to put something in the DB, the fd stays open, even though we've untie()'d the 
DB.  Did some more 
tracing...  Best guess is that DB_File's untie() is failing internally, and 
since there's no return code, we 
can't find that out.  Here's why we guess that:

<felicity> $ db_verify bayes_seen
<felicity> db_verify: Page 3981: non-empty page in unused hash bucket 3333
<felicity> db_verify: Page 0: page 1273 encountered a second time on free list
<felicity> db_verify: DB->verify: bayes_seen: DB_VERIFY_BAD: Database 
verification failed
<felicity> db_dump bayes_seen | db_load bayes_seen.new
<felicity> mv bayes_seen.new bayes_seen
<felicity> now everything works.

by using the Berkeley DB tools and rebuilding the DB, the problem was cleared, 
and untie() works fine.

so... whether this fixes your problem or not, I don't know, but it solved my 
problem.

I would say: upgrade to the latest code rev and try again.  If it still doesn't 
work, do the db_verify bit on 
your DBs and see what happens.  If that's not it, see if you have a limit on 
open files somewhere 
(ulimit?).  To help debug, do a "lsof -p <PID>" on the child pid, it'll tell 
you what's open.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to