Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261823AbUKCTZY (ORCPT ); Wed, 3 Nov 2004 14:25:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261824AbUKCTZX (ORCPT ); Wed, 3 Nov 2004 14:25:23 -0500 Received: from out008pub.verizon.net ([206.46.170.108]:61068 "EHLO out008.verizon.net") by vger.kernel.org with ESMTP id S261823AbUKCTY1 (ORCPT ); Wed, 3 Nov 2004 14:24:27 -0500 From: Gene Heskett Reply-To: gheskett@wdtv.com To: linux-kernel@vger.kernel.org Subject: Re: is killing zombies possible w/o a reboot? Date: Wed, 3 Nov 2004 14:24:23 -0500 User-Agent: KMail/1.7 Cc: =?iso-8859-1?q?M=E5ns_Rullg=E5rd?= , DervishD References: <200411030751.39578.gene.heskett@verizon.net> <200411031353.39468.gene.heskett@verizon.net> In-Reply-To: Organization: occasionally detectable MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200411031424.23149.gheskett@wdtv.com> X-Authentication-Info: Submitted using SMTP AUTH at out008.verizon.net from [151.205.46.51] at Wed, 3 Nov 2004 13:24:23 -0600 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1365 Lines: 35 On Wednesday 03 November 2004 14:03, M?ns Rullg?rd wrote: >Gene Heskett writes: >> On Wednesday 03 November 2004 12:44, DervishD wrote: >>> Hi Gene :) >>> >>> * Gene Heskett dixit: >>>> > Or write a little program that just 'wait()'s for the >>>> > specified PID's. That is perfectly portable IMHO. But I must >>>> > admit that the preferred way should be killing the parent. >>>> > 'init' will reap the children after that. >>>> >>>> But what if there is no parent, since the system has already >>>> disposed of it? >>> >>> Then the children are reparented to 'init' and 'init' gets rid >>> of them. That's the way UNIX behaves. >> >> Unforch, I've *never* had it work that way. Any dead process I've >> ever had while running linux has only been disposable by a reboot. > >That's because its parent was still sitting around refusing to > wait() for them. Define 'parent' when it was a click on the apps icon on the xwindow screen that started it, please. -- Cheers, gene gheskett at wdtv dot com 99.28% setiathome rank, not too bad for a WV hillbilly - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/