From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1506 Path: news.gmane.org!not-for-mail From: Alex Efros Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: runit not collecting zombies Date: Wed, 12 Sep 2007 21:18:36 +0300 Organization: asdfGroup Inc., http://powerman.asdfGroup.com/ Message-ID: <20070912181836.GG12043@home.power> References: <20070716000927.GY23517@home.power> <47939.::ffff:77.75.72.5.1189601606.squirrel@mail.podgorny.cz> <20070912143557.GC12043@home.power> <20070912150047.GD12043@home.power> <20070912172245.GF12043@home.power> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1189621123 13313 80.91.229.12 (12 Sep 2007 18:18:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Sep 2007 18:18:43 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-1741-gcsg-supervision=m.gmane.org@list.skarnet.org Wed Sep 12 20:18:40 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 1IVWnN-0000Qf-F3 for gcsg-supervision@gmane.org; Wed, 12 Sep 2007 20:18:37 +0200 Original-Received: (qmail 17281 invoked by uid 76); 12 Sep 2007 18:18:59 -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 17275 invoked from network); 12 Sep 2007 18:18:58 -0000 Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1506 Archived-At: Hi! On Wed, Sep 12, 2007 at 01:40:07PM -0400, Charlie Brady wrote: > Indeed. Please remember that we haven't seen your ps output. Oh, really? How about this one: http://article.gmane.org/gmane.comp.sysutils.supervision.general/1422 and this: http://article.gmane.org/gmane.comp.sysutils.supervision.general/1482 > If the parent sshd continues to run, then it can fork lots of children, all > or many of which exit very quickly, and there will still be no zombies > reparented to init. There's something more going on here. You would be well > advised to report the problem to whoever maintains the ssh which you use > and/or the ssh maintainers. Hmm. This sounds reasonable enough, I haven't think about this. Actually, parent ssh never exit - I never see /var/service/ssh/run restarted! But in my `ps` output PPID for zombie [sshd] is 1... Maybe ssh doing setsid() to detach from parent sshd? But usually this isn't the case: 869 ? Ss 0:00 \_ runsv ssh 23079 ? S 0:00 | \_ /usr/sbin/sshd -D 26899 ? Ss 0:00 | \_ sshd: root@pts/0 26901 pts/0 Ss+ 0:00 | \_ -bash 26907 pts/0 S+ 0:00 | \_ screen -dR -- WBR, Alex.