From owner-freebsd-stable Fri Sep 15 11:48:54 2000 Delivered-To: freebsd-stable@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 6A0A637B424; Fri, 15 Sep 2000 11:48:47 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e8FImeq06316; Fri, 15 Sep 2000 11:48:40 -0700 (PDT) Date: Fri, 15 Sep 2000 11:48:40 -0700 From: Alfred Perlstein To: Cy Schubert - ITSD Open Systems Group Cc: Vivek Khera , FreeBSD-Stable , marcel@FreeBSD.ORG Subject: Re: negative proccnt Message-ID: <20000915114840.H12231@fw.wintelcom.net> References: <14786.19481.624232.842198@onceler.kciLink.com> <200009151844.e8FIiaG25369@cwsys.cwsent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <200009151844.e8FIiaG25369@cwsys.cwsent.com>; from Cy.Schubert@uumail.gov.bc.ca on Fri, Sep 15, 2000 at 11:43:58AM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Cy Schubert - ITSD Open Systems Group [000915 11:45] wrote: > In message <14786.19481.624232.842198@onceler.kciLink.com>, Vivek Khera > writes: > > >>>>> "CS" == Cy Schubert <- ITSD Open Systems Group > bc.ca>> 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... > > Unfortunately no. This only works with dynamically linked binaries. Guys, if this is a Linux program and it's not working through the Linux emulator then isn't that a bug in the Linux emulator? Marcel, these guys are having problems because 'lyris' (a list manager I think) depends on some weird linux behavior to automagically reap exited child processes. I thought we already supported that Linuxism through the linuxulator, don't we? -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message