Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2002 09:09:32 -0500
From:      "Jack L. Stone" <jackstone@sage-one.net>
To:        budsz <budsz@kumprang.or.id>, FBSDQ <freebsd-questions@FreeBSD.ORG>
Subject:   Re: How kill Zombie
Message-ID:  <3.0.5.32.20020824090932.03a345e0@mail.sage-one.net>
In-Reply-To: <20020824054859.GA31153@kumprang.kumprang.or.id>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20020824090932.03a345e0>