From owner-freebsd-questions Thu Jan 6 11:30:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 5485D1567E for ; Thu, 6 Jan 2000 11:30:33 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id OAA20365; Thu, 6 Jan 2000 14:34:01 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <200001061934.OAA20365@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Killing Zombies. In-Reply-To: from Adam at "Jan 6, 2000 12:34:09 pm" To: bsdx@looksharp.net (Adam) Date: Thu, 6 Jan 2000 14:34:01 -0500 (EST) Cc: alwyns@littlecruncher.prizm.dhs.org (Alwyn Schoeman), Zapper@FoxChat.Net (FoxChat.Net), freebsd-questions@FreeBSD.ORG (FreeBSD Questions) Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Adam wrote, > I believe to remove a zombie you can try to figure out its parent process > and kill that instead. If its already gone then I don't know what to > say. :) > > On Thu, 6 Jan 2000, Alwyn Schoeman wrote: > > >On Sun, Jan 02, 2000 at 12:19:29AM -0600, FoxChat.Net wrote: > >> How does one kill a "zombie" process? > > > >You don't. Zombie processes aren't really processes, they're just hanging > >around in the process table until something happens, what precisely I've for- > >gotten. % kill -CHLD Should usually do it. These are typically parent processes waiting for daughter processes to die (or do _something_). However, there are reasons why zombies hang around. This is not recommended unless there is a good reason to do it. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message