- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Dead process
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
Forums
Discussions
Discussions
Discussions
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
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
03-16-2003 06:40 AM
03-16-2003 06:40 AM
Dead process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2003 06:53 AM
03-16-2003 06:53 AM
Re: Dead process
Anyway, u must check your system, why there is so many zombies, may be it's caused by some bug in your system or someone just works wrong with it and causes so many defuncts, normally, there must be no defunct proccesess ...
good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2003 06:54 AM
03-16-2003 06:54 AM
Re: Dead process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2003 07:06 AM
03-16-2003 07:06 AM
Re: Dead process
I suggest to find out the source of these processes, and then reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2003 08:58 AM
03-16-2003 08:58 AM
Re: Dead process
A defunct process is also known as a zombie because it is already dead but the parent failed to handle the chile process correctly. Tow possibilities:
1. Bad programming techniques in starting processes,
2. use of kill -9 indiscriminately
Item 2 is very common to new sysadmins that were told to kill everything with -9 in some Unix-101 class. Nothing could be worse for the stability of the system! kill -9 pulls out the rug from underneath the program, giving the program no chance to handle ope files, unposted buffers, child processes, etc. Never use kill -9! Use kill -15 (or kill with no option which is kill -15 or SIGTERM). If kill -15 doesn't terminate the process, you can then use kill -9 but you'll need to find the reason that the program is ignoring normal kill signals.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2003 09:51 AM
03-16-2003 09:51 AM
Re: Dead process
lsof -p pid
Often times a defunct, or zombie, process will be waiting on some I/O, like with an open file. See if another process also has your defunct process's open file.
Also is you pid using shared memory?
ipcs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2003 04:42 AM
03-17-2003 04:42 AM
Re: Dead process
Dead process is most probabilly the fault of the parent, as the parent is oblidget to confirm the childs death.
What can you do is: check the processes parent. If it's not '1' (init) you have a responsible for the whole situation. You can that try to kill it (do not use SIGKILL, try with SIGTERM at the begining). THe processes of the dead parent are 'adopted' by init process. If it adopts zombies - it can remove them.
However if it doesn't help, or if the parent of the zombies is already '1' then you can only reboot.
Good luck
Adam