[bogofilter-dev] bogofilter hang

Matthias Andree matthias.andree at gmx.de
Sat May 1 18:59:56 EDT 2004


Hi,

I just had my machine rebooted by the watchdog (must have been a kernel
bug, it was an experimental kernel), which does the equivalent of reboot
-f, no chance for any processes to survive or finish their work.

This situation evidently didn't leave bogofilter a chance to have
Berkeley DB release its internal locks on the data base, so bogofilter
locked dead next time it was run after the boot waiting for an orphaned
lock that no process could free. Stopping the mail system (Postfix),
then killing all bogofilter processes and running db_recover rectified
the problem.

I wonder if anything of this should be automated, i. e. bogofilter
should time out after like 5 minutes without progress.

Opinions are welcome, but I don't have the time to write, let alone test
and debug, serious amounts of code in the near future.

Cheers,

-- 
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95


More information about the Bogofilter-dev mailing list