Date: Fri, 15 Sep 2000 11:43:58 -0700 From: Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca> To: Vivek Khera <khera@kciLink.com> Cc: FreeBSD-Stable <stable@FreeBSD.ORG> Subject: Re: negative proccnt Message-ID: <200009151844.e8FIiaG25369@cwsys.cwsent.com> In-Reply-To: Your message of "Fri, 15 Sep 2000 12:19:37 EDT." <14786.19481.624232.842198@onceler.kciLink.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/DEC Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC 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?200009151844.e8FIiaG25369>
