From owner-freebsd-stable Fri Sep 15 9:19:42 2000 Delivered-To: freebsd-stable@freebsd.org Received: from yertle.kciLink.com (yertle.kciLink.com [204.117.82.9]) by hub.freebsd.org (Postfix) with ESMTP id DA92F37B422 for ; Fri, 15 Sep 2000 09:19:38 -0700 (PDT) Received: from onceler.kciLink.com (onceler.kciLink.com [204.117.82.2]) by yertle.kciLink.com (Postfix) with ESMTP id 383C52E443 for ; Fri, 15 Sep 2000 12:19:38 -0400 (EDT) Received: (from khera@localhost) by onceler.kciLink.com (8.11.0/8.11.0) id e8FGJbh27612; Fri, 15 Sep 2000 12:19:37 -0400 (EDT) (envelope-from khera) From: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14786.19481.624232.842198@onceler.kciLink.com> Date: Fri, 15 Sep 2000 12:19:37 -0400 (EDT) To: FreeBSD-Stable Subject: Re: negative proccnt In-Reply-To: <200009151533.e8FFXWH24798@cwsys.cwsent.com> References: <14786.15634.470822.561497@onceler.kciLink.com> <200009151533.e8FFXWH24798@cwsys.cwsent.com> X-Mailer: VM 6.72 under 21.1 (patch 11) "Carlsbad Caverns" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "CS" == Cy Schubert <- ITSD Open Systems Group > writes: >> The native FreeBSD version is allegedly coming out in the next couple >> of weeks, so that should solve my zombie problem, and I'll be happier. CS> One can solve zombies in canned software by using a binary editor like CS> emacs to replace the external symbol for fork() with _frk(), then CS> create a _frk() function that will fork() and issue a signal() to trap CS> all SIGCHLD prior to the first fork it issues. When catching a CS> SIGCHLD, just issue wait(). Then load the module using LD_PRELOAD CS> prior to executing the desired application. Wow... will this work with a static linux binary as well? Unfortunately lyris for linux is a static binary... -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-301-545-6996 GPG & MIME spoken here http://www.khera.org/~vivek/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message