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

           Summary: process leak for helper applications (pyzor)
           Product: Spamassassin
           Version: 3.0.3
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Libraries
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


With a mail server with quite some load, there is a small process leak when
using pyzor (by looking at the code, I believe also with some other helpers, but
haven't seen the problem). On a highly loaded server, this small leak causes lot
of zombie and not so zombie pyzor processes to be left over hanging around the
system (a couple hundreds a day). Over a week period, if not properly limited,
those process may cause several damages due to resource exaustion and so on... 

The problem is due the timeout handler, which doesn't cleanly terminate the
process in case the timeout expires (there is no waitpid if the timeout expires,
and no kill is performed). The attached patch has solved the problem on many
installations and setups I've been working on.



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

Reply via email to