http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5695
Summary: flock interrupted by system call
Product: Spamassassin
Version: 3.2.3
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P5
Component: Libraries
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I get tons of warning on heavyly loaded system:
WARNING: bayes: cannot open bayes databases /root/.spamassassin/bayes_* R/W:
lock failed: Interrupted system call
locking at the code reveals that EINTR is not catched:
Flock.pm line 84: if (flock ($fh, LOCK_EX))
should be somethimg more resonable, like
while (!flock($fh, LOCK_EX)) {
next if $! == EINTR;
die "unable to get lock ..."
}
- Dietmar
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.