From owner-freebsd-questions Sat Aug 24 7:10: 7 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 ACFD337B400 for ; Sat, 24 Aug 2002 07:10:01 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6AC143E86 for ; Sat, 24 Aug 2002 07:10:00 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g7OE9XS27187; Sat, 24 Aug 2002 09:09:45 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20020824090932.03a345e0@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sat, 24 Aug 2002 09:09:32 -0500 To: budsz , FBSDQ From: "Jack L. Stone" Subject: Re: How kill Zombie In-Reply-To: <20020824054859.GA31153@kumprang.kumprang.or.id> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 At 12:48 PM 8.24.2002 +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. > >TIA You can't kill a zombie because it already dead. Restaring the prcess will eliminate them, but if the processes' zombies are not proliferating, they aren't hurting anything. To see which one is causing the zombie, do: ps -alx | grep Z For example, I always have this one: ageame@sage-one$ ps -alx | grep Z UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND 0 15684 338 0 28 0 0 0 - Z ?? 0:00.00 (apcupsd) That is caused by my APC daemon, but never increases over the one, so I just ignore it. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message