Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2003 02:24 AM
тАО11-21-2003 02:24 AM
zombies
Sorry for this basic question, but it will help me.
Please give me the most common reasons, why could zombies processes occur.
Thanx.
j
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2003 02:42 AM
тАО11-21-2003 02:42 AM
Re: zombies
not been delivered to its parent process yet. The parent process has to
do a wait(2)-type system call to read the exit code of a child.
Some programs fork child processes, but do not wait for them when they
(the children) exit. The child processes remain as zombies. The only
resource a zombie takes is a slot in the process table.
When a parent process exits itself, its children become children of init,
process number 1. Init waits for its children. So when a parent exits, its
zombie children effectively disappear because they are waited for by init.
If you really really really want to kill a zombie, kill its parent. The
zombie goes to init, and subsequently disappears.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2003 04:20 AM
тАО11-21-2003 04:20 AM
Re: zombies
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2003 08:38 PM
тАО11-24-2003 08:38 PM
Re: zombies
What could be the reasons, that child's exit code hasn't been received by its parent process yet?
bye,
jk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2003 09:12 PM
тАО11-24-2003 09:12 PM
Re: zombies
The parent process has to
do a wait(2)-type system call to read the exit code of a child.
Basically the parent has to issue another call it could well be that the parent has not issued it for reasons unknown
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-26-2003 07:09 PM
тАО11-26-2003 07:09 PM
Re: zombies
It is basically due to software not behaving properly. A process that forks a child is supposed to trap SIGCHLD (death of a child)and do a "wait()" immediately. If it doesn't because it isn't written properly then you will have a "zombie" process. You can't kill a zombie but then again, it isn't taking up any system resources except one slot in your process table.