APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

2004/02/27 zombie

Some material is very old and may be incorrect today

© February 2004 Tony Lawrence

A process whose parent dies before it did.

Zombies result from errors or sloppy programming. A process forks, and execs a new process onto the fork. The original process is the parent of the old process; you can see that in a "ps" listing. If that parent now dies or exits deliberately, the child process continues to run. But when it dies, it is supposed to report its exit status to its parent - if that parent were alive, it is supposed to issue a "wait()" on the child to collect that status. If the parent is dead, it's not going to be doing that, so init inherits the process and shows it as being in a "zombie" state. Init will clean everything up eventually; just give it time.

See Understanding "Kill"

If you found something useful today, please consider a small donation.

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> zombie process

Inexpensive and informative Apple related e-books:

Take Control of Parallels Desktop 12

Photos: A Take Control Crash Course

iOS 10: A Take Control Crash Course

iOS 8: A Take Control Crash Course

Take Control of Pages

More Articles by © Tony Lawrence

Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Printer Friendly Version

Just because they've sold you an IP based phone system doesn't mean they know anything about IP, does it? (Tony Lawrence)

Linux posts

Troubleshooting posts

This post tagged:



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode