From owner-freebsd-questions Fri Aug 23 23:14:56 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 0341937B400 for ; Fri, 23 Aug 2002 23:14:55 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1146543E6A for ; Fri, 23 Aug 2002 23:14:54 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.5/8.12.5) with ESMTP id g7O6EekB073736; Sat, 24 Aug 2002 18:14:40 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.5/8.12.5/Submit) id g7O6EeJT073735; Sat, 24 Aug 2002 18:14:40 +1200 (NZST) Date: Sat, 24 Aug 2002 18:14:40 +1200 From: Jonathan Chen To: budsz Cc: FBSDQ Subject: Re: How kill Zombie Message-ID: <20020824061440.GB73646@grimoire.chen.org.nz> References: <20020824050202.GA12025@kumprang.kumprang.or.id> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020824050202.GA12025@kumprang.kumprang.or.id> User-Agent: Mutt/1.4i 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 Sat, Aug 24, 2002 at 12:02:02PM +0700, budsz wrote: > Hi, > > If I use top command, so I see "1 zombie": > > last pid: 12424; load averages: 0.00, 0.00, 0.00 up 0+00:34:35 11:54:47 > 73 processes: 1 running, 71 sleeping, 1 zombie > Mem: 33M Active, 9760K Inact, 12M Wired, 3548K Cache, 14M Buf, 1596K Free > Swap: 500M Total, 1888K Used, 498M Free > > I use ps aux : > > root 12313 0.0 0.0 0 0 ?? Z 11:54AM 0:00.00 (sh) > > How to kill zombie proses..?, this happen when I try to install amavis > scanner virus..? but if I kill my qmail zombie doesn't appeare. 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. -- Jonathan Chen ---------------------------------------------------------------------- "Lots of folks confuse bad management with destiny" - Kin Hubbard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message