Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 1998 07:54:29 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        pb@fasterix.freenix.org (Pierre Beyssac)
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/5236 
Message-ID:  <16263.893051669@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 20 Apr 1998 01:13:35 %2B0200." <19980420011335.SG57732@@> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <19980420011335.SG57732@@>, Pierre Beyssac writes:
>Poul-Henning Kamp writes:
>> Synopsis: CPU and mem not zeroed for zombie process
>> 
>> I don't think this behaviour is wrong.  What do you perceive as a problem
>> with it ?
>
>The problem is that a zombie process can be shown (by ps) as using a
>non-zero amount of CPU (and mem) for hours. It clearly isn't an
>accurate view of actual usage of system resources. Maybe it has an
>influence on load averages computations too.

Well, first: zombies are signs of programming errors in the parent 
process.  Second: ps doesn't give an atomic snapshot of the system,
so it isn't an accurate view of system resources.  Third: since it 
isn't scheduled none of those awful things will happen.  Fourth: If
you had included a patch for ps things would probably happen :-)

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
"Drink MONO-tonic, it goes down but it will NEVER come back up!"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



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