From owner-freebsd-questions Sun Aug 25 15:19:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF3A237B400 for ; Sun, 25 Aug 2002 15:19:52 -0700 (PDT) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7883943E42 for ; Sun, 25 Aug 2002 15:19:52 -0700 (PDT) (envelope-from mbsd@pacbell.net) Received: from atlas ([64.160.45.6]) by mta7.pltn13.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0H1F00KAN7D3YD@mta7.pltn13.pbi.net> for questions@FreeBSD.org; Sun, 25 Aug 2002 15:19:52 -0700 (PDT) Date: Sun, 25 Aug 2002 15:19:54 -0700 (PDT) From: "M.T." Subject: Re: How kill Zombie In-reply-to: <20020825162818.GA42137@studnet.sk> X-X-Sender: mikko@atlas.home To: Radko Keves Cc: questions@FreeBSD.org Message-id: <20020825151845.A356-100000@atlas.home> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 25 Aug 2002, Radko Keves wrote: > >You can't "kill" a zombie process. It's parent process is responsible > >for cleaning it up. Your choices are: > > > 1. kill the parent process. > > 2. fix the code in the parent process to clean up after itself. > > > hi that's nice but what to do if the process was adopted by init ;) In that case you don't have a problem, as init will reap all dead processes assigned to it. Hence, no zombie. /Mikko To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message