http://bugzilla.spamassassin.org/show_bug.cgi?id=3790
Summary: spamd fails to remove bayes.lock file?
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Learner
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
This report refers to 3.0 rc3, but I didn't find any mention of a potential fix
since then.
On at least two occasions now I've invoked sa-learn explicitly on a message that
passed spamd, while spamd was still actively processing other messages. In this
instance I would expect sa-learn to wait until spamd finished, then lock the
database and proceed.
Instead, sa-learn goes into a loop calling lstat() on
~/.spamassassin/bayes.lock. The file remains in the directory even after all
spamd processing has completed. Only after I manually remove the file does
sa-learn recover and proceed.
This has never happened if I wait until all the preforked spamds are quiescent
before attempting to run sa-learn, so I suspect that there's some other
interaction between spamd and sa-learn that causes spamd to fail to unlink its
lock file, but I can't imagine what.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.