Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2000 12:19:37 -0400 (EDT)
From:      Vivek Khera <khera@kciLink.com>
To:        FreeBSD-Stable <stable@FreeBSD.ORG>
Subject:   Re: negative proccnt 
Message-ID:  <14786.19481.624232.842198@onceler.kciLink.com>
In-Reply-To: <200009151533.e8FFXWH24798@cwsys.cwsent.com>
References:  <14786.15634.470822.561497@onceler.kciLink.com> <200009151533.e8FFXWH24798@cwsys.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "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...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14786.19481.624232.842198>