From owner-freebsd-questions Mon Aug 4 13:21:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA24784 for questions-outgoing; Mon, 4 Aug 1997 13:21:52 -0700 (PDT) Received: from cedb.dpcsys.com (cedb.DPCSYS.com [209.25.4.4]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA24778 for ; Mon, 4 Aug 1997 13:21:49 -0700 (PDT) Received: from localhost (dan@localhost) by cedb.dpcsys.com (8.8.5/8.8.2) with SMTP id UAA07682; Mon, 4 Aug 1997 20:21:37 GMT Date: Mon, 4 Aug 1997 13:21:37 -0700 (PDT) From: Dan Busarow To: Don Wilde cc: questions@FreeBSD.ORG Subject: Re: ignoring SIGCHLD In-Reply-To: <33E61621.42F1@PartsNow.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 4 Aug 1997, Don Wilde wrote: > When I attempted to execute, I was able to get it to work except for the > fact that $SIG{"CHLD"} = "IGNORE"; did not cause an ACK of the signal > which would allow the child processes to die. I'm still stuck with With BSD you need to supply a signal handler for SIGCHLD, you can't just ignore it. Setting the signal handler to a noop function is all you need to do to eliminate your zombies. Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82