Date: Thu, 6 Jan 2000 22:02:02 +0100 (CET) From: Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de> To: freebsd-questions@FreeBSD.ORG Subject: Re: Killing Zombies. Message-ID: <200001062102.WAA29331@dorifer.heim3.tu-clausthal.de> In-Reply-To: <852318$2vsr$1@atlantis.rz.tu-clausthal.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Chris.Smith@raytheon.co.uk wrote in list.freebsd-questions: > Can't you just remove the process table entry from somewhere - It makes ps > outputs big! If that's your only concern, then you shouldn't do anything about it. Use grep to filter them from your ps output. To get rid of the "zombie processes", find their parent processes (with ps) and kill them. (Technical details: The init process [PID 1] collects all orphaned processes and cares for them. So if a parent process is killed, its children are picked up by the init process. If there are any zombies, init will grab their exit status, and the zombies can finally rest in peace.) The real solution is -- of course -- to fix the broken programs. "Zombie processes" that are hanging around are always a sign of bad programming. Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001062102.WAA29331>