http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5081

           Summary: spamd_hup.t failures due to new kids being started while
                    old ones are being killed
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: spamc/spamd
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I noticed quite a few failures of t/spamd_hup.t on a new laptop here.  here was
the culprit:

[11632] info: spamd: server hit by SIGHUP, restarting
[11632] dbg: prefork: new lowest idle kid: none
[11632] info: spamd: child 11673 killed successfully
[11632] dbg: prefork: new lowest idle kid: none
[11632] info: spamd: child 11672 killed successfully
[11632] dbg: prefork: child 11672: ignored new state 1, already exited?
[11632] dbg: prefork: child reports idle
[11632] info: prefork: child states:
[11632] dbg: prefork: adjust: increasing, not enough idle children (0 < 1)
[11676] dbg: prefork: sysread(9) not ready, wait max 300 secs
[11632] info: spamd: server successfully spawned child process, pid 11676


a new server shouldn't have been started at that point, since SIGHUP had
been received and the old ones were being killed!  after that, obviously
the accept socket was still open, so EADDRINUSE errors were caused.

testing a patch now.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to