From owner-freebsd-hackers Mon Feb 24 12:27:15 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F04037B401 for ; Mon, 24 Feb 2003 12:27:14 -0800 (PST) Received: from ghostwheel.tribble.net (ghostwheel.tribble.net [198.49.247.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61C5E43FA3 for ; Mon, 24 Feb 2003 12:27:13 -0800 (PST) (envelope-from gder@ghostwheel.tribble.net) Received: from ghostwheel.tribble.net (gder@localhost.tribble.net [127.0.0.1]) by ghostwheel.tribble.net (8.12.6/8.12.6) with ESMTP id h1OKR7Oq003514; Mon, 24 Feb 2003 13:27:07 -0700 (MST) (envelope-from gder@ghostwheel.tribble.net) Received: (from gder@localhost) by ghostwheel.tribble.net (8.12.6/8.12.7/Submit) id h1OKR72c003513; Mon, 24 Feb 2003 13:27:07 -0700 (MST) Date: Mon, 24 Feb 2003 13:27:06 -0700 From: G-der To: Jan Grant Cc: wgrim@siue.edu, kla@tu-sofia.acad.bg, freebsd-hackers@freebsd.org Subject: Re: Properly reaping children from a fork() Message-ID: <20030224202706.GA99643@gder.net> References: <20030224183953.GB80651@gder.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thank you everyone for your replies. The bug was a pretty silly one and one that I should have caught just stepping through the code. The call to signal() to install the handler was beging made after the fork(). So the children had a handler installed but not the parent. I moved the signal() call above the accept loop and before the fork and that seems to have cleared up that issue. Again, thanks for the prompt responses... Regards Gene Dinkey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message