lkml.org 
[lkml]   [1998]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Zombie processes
    Date: 	Tue, 10 Feb 1998 17:44:43 -0500 (EST)
From: Spirilis <spirilis@mindmeld.dyn.ml.org>
To: linux-kernel@vger.rutgers.edu
Subject: Zombie processes
Message-ID: <Pine.LNX.3.96.980210174329.7261A-100000@mindmeld.dyn.ml.org>

Hello,
I would like some advice on the issue of zombie processes. Primarily, what
causes them? How can you get rid of them? Basically, what ARE they?
Any reply is greatly appreciated!

Thanks
-Spirilis

When a process terminates, it will hang around as a zombie (although it's
resources have been freed by this time) until it is reaped by a parent
process.

This is done when the parent calls wait, wait3 or wait4. (Hmm - why is there
no wait2?). The value returned to the parent will tell how the process
terminated and the exit code.

Check the man pages for wait, etc. You might also want to check signal(7)
for details about SIGCHLD and perhaps sigaction(2), etc.






-Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.022 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site