Return-Path: Delivered-To: apmail-spamassassin-dev-archive@www.apache.org Received: (qmail 17412 invoked from network); 2 Sep 2004 23:10:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Sep 2004 23:10:30 -0000 Received: (qmail 982 invoked by uid 500); 2 Sep 2004 23:10:28 -0000 Delivered-To: apmail-spamassassin-dev-archive@spamassassin.apache.org Received: (qmail 947 invoked by uid 500); 2 Sep 2004 23:10:28 -0000 Mailing-List: contact dev-help@spamassassin.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "SpamAssassin Development" dev@spamassassin.apache.org Delivered-To: mailing list dev@spamassassin.apache.org Received: (qmail 923 invoked by uid 99); 2 Sep 2004 23:10:28 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of apache@bugzilla.spamassassin.org designates 64.142.3.173 as permitted sender) Received: from [64.142.3.173] (HELO bugzilla.spamassassin.org) (64.142.3.173) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 02 Sep 2004 16:10:27 -0700 Received: by bugzilla.spamassassin.org (Postfix, from userid 48) id 93F558419B; Thu, 2 Sep 2004 16:10:26 -0700 (PDT) From: bugzilla-daemon@bugzilla.spamassassin.org To: dev@spamassassin.apache.org Subject: [Bug 3743] Spamd not cleaning up defunct processes X-Bugzilla-Reason: AssignedTo Message-Id: <20040902231026.93F558419B@bugzilla.spamassassin.org> Date: Thu, 2 Sep 2004 16:10:26 -0700 (PDT) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N http://bugzilla.spamassassin.org/show_bug.cgi?id=3743 ------- Additional Comments From felicity@kluge.net 2004-09-02 16:10 ------- hrm. it seems like for some reason either 1) the OS isn't sending a SIGCHLD when the child exits, so the parent doesn't know to wait for it and spawn a new child, or 2) the parent is somehow not paying attention/able to receive to signals/was hit by SIGSTOP/etc. In the logs posted, I can see 8145 being spawned: Sep 2 17:57:48 larry spamd[9297]: server hit by SIGCHLD, pid 9307 Sep 2 17:57:48 larry spamd[9297]: server successfully spawned child process, pid 8145 but there is no record of a SIGCHLD being received when it exited. > Could there be some kind of polling code to verify whether the child processes are in a zombie state and act accordingly. Not in the current spamd. The parent has no interaction with the children beyond spawning them and cleaning up when a SIGCHLD is received. That's all the parent does actually, it sits in a sleep() until a signal comes along to wake it up. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.