- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to kill zombie 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
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
тАО06-22-2001 01:39 AM
тАО06-22-2001 01:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2001 01:48 AM
тАО06-22-2001 01:48 AM
Re: How to kill zombie process?
ps -e f |grep zombie
note the pid
kill -9
Can u tell me what zombie is ?.
kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2001 01:52 AM
тАО06-22-2001 01:52 AM
Re: How to kill zombie process?
I have tried with:
#kill -9 10257
for several times.But it does not work!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2001 01:58 AM
тАО06-22-2001 01:58 AM
SolutionThe pid you are trying to kill is probably being held open by a tcp connection. Use lsof to see which IP it is;
lsof -i | grep 10257
Iif you dont have lsof installed you can download from the HP software porting centre.
Then find out who the remote IP belongs to and get it rebooted, or if you are using HP-UX 11 you can use the ndd command to close the tcp connection, then your zombie will die.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2001 02:17 AM
тАО06-22-2001 02:17 AM
Re: How to kill zombie process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2001 02:25 AM
тАО06-22-2001 02:25 AM
Re: How to kill zombie process?
Have you got lsof downloaded and installed for 10.20 ?
You can still use lsof -i to identify who/what is stopping your zombie process from dying, but if it is a remote tcp connection you will need to reboot/break the network connection to get the zombie to die. On 11.0 you can kill it with the ndd command, but not on 10.20 im afraid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2001 03:19 AM
тАО06-22-2001 03:19 AM
Re: How to kill zombie process?
All the best!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2001 09:15 AM
тАО06-22-2001 09:15 AM
Re: How to kill zombie process?
I don't think "kill" will affect a zombie process, as it is already terminated.
So the only way to clean a zombie process is to kill the parent or if you are the programmer of these processes, make sure that the parent collects the termination status of its children.
Use "ps -ef" to determine the parent process of the zombie. The PID for the parent is the third column. I wouldn't just kill the parent. Killing it might do damage to your system. Determine what it is and the state of it first. It may be blocked on something else (a hung device). After that times out it might clean up the child process.