Date: Fri, 15 Sep 2000 11:48:40 -0700 From: Alfred Perlstein <bright@wintelcom.net> To: Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca> Cc: Vivek Khera <khera@kciLink.com>, FreeBSD-Stable <stable@FreeBSD.ORG>, marcel@FreeBSD.ORG Subject: Re: negative proccnt Message-ID: <20000915114840.H12231@fw.wintelcom.net> 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 References: <14786.19481.624232.842198@onceler.kciLink.com> <200009151844.e8FIiaG25369@cwsys.cwsent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca> [000915 11:45] wrote: > In message <14786.19481.624232.842198@onceler.kciLink.com>, Vivek Khera > writes: > > >>>>> "CS" == Cy Schubert <- ITSD Open Systems Group <Cy.Schubert@uumail.gov. > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000915114840.H12231>