From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1488 Path: news.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: runit not collecting zombies Date: Sun, 15 Jul 2007 19:06:18 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Message-ID: References: <20070619190751.GC27090@home.power> <20070620162325.26345.qmail@7d91355cde742c.315fe32.mid.smarden.org> <20070620165736.GC12963@home.power> <20070620183532.4571.qmail@9f638fd8b69905.315fe32.mid.smarden.org> <20070623044205.GA1594@home.power> <20070626095920.6195.qmail@3e147d410b1c2c.315fe32.mid.smarden.org> <20070715144704.GS23517@home.power> <20070715190757.GW23517@home.power> <20070715201846.GT3925@run.galis.org> <20070715223553.GU3925@run.galis.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1184540785 27980 80.91.229.12 (15 Jul 2007 23:06:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Jul 2007 23:06:25 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-1725-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Jul 16 01:06:24 2007 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by lo.gmane.org with smtp (Exim 4.50) id 1IADAT-0006OS-Mx for gcsg-supervision@gmane.org; Mon, 16 Jul 2007 01:06:21 +0200 Original-Received: (qmail 13789 invoked by uid 76); 15 Jul 2007 23:06:43 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 13784 invoked from network); 15 Jul 2007 23:06:43 -0000 In-Reply-To: <20070715223553.GU3925@run.galis.org> (George Georgalis's message of "Sun, 15 Jul 2007 18:35:53 -0400") Mail-Copies-To: nobody Mail-Followup-To: supervision@list.skarnet.org Original-Lines: 13 User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) X-Junkmail-Status: score=10/49, host=mpv3.cwru.edu X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A090204.469AA86B.00D8,ss=1,fgs=0, ip=129.22.105.51, so=2006-09-22 03:48:54, dmn=5.3.14/2007-05-31 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1488 Archived-At: "George Georgalis" wrote: > but in practice isn't the best way to deal with defunct entries by > attaching fd to a file or socket then exec the child (which may > fork) so the parent no longer has a fd open to the child? It sounds like you're thinking of something like fghack, but that's a solution to a different problem: a service that forks itself into the background, which makes it difficult to supervise. The problem here is different: some processes outlive their parents, so they are adopted by process 1, but process 1 is not wait()ing for them. paul