From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1538 Path: news.gmane.org!not-for-mail From: Laurent Bercot Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: runit not collecting zombies Date: Tue, 18 Sep 2007 13:45:47 +0200 Message-ID: <20070918114547.GA6416@skarnet.org> References: <20070912172245.GF12043@home.power> <20070912181836.GG12043@home.power> <20070912191346.GH12043@home.power> <20070915133641.GA30650@home.power> <20070917075651.8280.qmail@f6989948e15a99.315fe32.mid.smarden.org> <20070917115924.GB1531@home.power> <20070918081441.20488.qmail@1a6f0ddc0befcc.315fe32.mid.smarden.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1190115968 8651 80.91.229.12 (18 Sep 2007 11:46:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2007 11:46:08 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-1773-gcsg-supervision=m.gmane.org@list.skarnet.org Tue Sep 18 13:45:59 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 1IXbWB-0003II-Bs for gcsg-supervision@gmane.org; Tue, 18 Sep 2007 13:45:27 +0200 Original-Received: (qmail 7515 invoked by uid 76); 18 Sep 2007 11:45:47 -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 7507 invoked by uid 1000); 18 Sep 2007 11:45:47 -0000 Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20070918081441.20488.qmail@1a6f0ddc0befcc.315fe32.mid.smarden.org> User-Agent: Mutt/1.4i Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1538 Archived-At: > I prepare a new version of runit that looks for and reaps zombies not > only if it knows that there are some, but also after a 14 seconds > timeout, there seems to be no way around that. I'm curious. How do you guys come up with your constants ? DJB's svscan checks for new services (and reaps zombies) every 5 seconds. You're thinking about a check every 14 seconds. Is 14 the result of some clever calculation, or is it just something like a "reasonable guesstimate" ? What I'd really like to see is an option to configure the timeout. For instance, runit -t 10 would reap zombies every 10 seconds. The default could, of course, be whatever reasonable guesstimate, or clever result, you want. Congratulations to you all for analyzing and finally solving the problem, anyway. And my apologies again for the 'hardware interrupt' that occurred during the process. -- Laurent