How can i kill Zombies


 
Thread Tools Search this Thread
Operating Systems HP-UX How can i kill Zombies
# 1  
Old 04-05-2005
How can i kill Zombies

Hi All

I need help, how can i kill zombies instead of rebooting the system.
Regards

System: sna Tue Apr 5 17:50:23 2005

Load averages: 0.05, 0.15, 0.22

168 processes: 157 sleeping, 5 running, 6 zombies

Cpu states:

CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS

0 0.05 0.0% 0.0% 0.4% 99.6% 0.0% 0.0% 0.0% 0.0%

1 0.05 0.0% 0.0% 0.4% 99.6% 0.0% 0.0% 0.0% 0.0%

--- ---- - - - - - - - -----

avg 0.05 0.0% 0.0% 0.4% 99.6% 0.0% 0.0% 0.0% 0.0%



Memory: 473796K (87484K) real, 322940K (78680K) virtual, 2442524K free Page# 1/

14
# 2  
Old 04-05-2005
zombies are already dead. To make them go away, kill their parent process (which really should be reaping its dead children). This will make init inherit the zombies and init will reap them.
# 3  
Old 04-25-2005
zombie process

How do you find the process id for the zombie... I used TOP and it doesn't show up there?
# 4  
Old 04-25-2005
You might not have any zombies to find. I would do a "ps -el". The second field will be Z if a process is a zombie.
# 5  
Old 04-25-2005
Here is an entry when I do a ps -el......

1 Z 0 25283 2552 0 178 20 4be88940 0 - ? 0:00 <defunct>

should I do a kill on 25283?

What I'm really trying to do is find a process that might be stuck in a loop or might be considered a process hog. Do you have any suggestions of how to find such processes and kill them?

Thanks,
-Tim
# 6  
Old 04-25-2005
See my first post in this thread.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help! Zombies

Hello, quick question: I have a zombie process listed with 'top' Could someone help me find out what it the PID is for it, so I can kill $PID. $ model 9000/800/rp3440 HP-UX bigassserver B.11.31 U 9000/800 3085785128 unlimited-user license thanks! System: bigassserver ... (23 Replies)
Discussion started by: olyanderson
23 Replies

2. Shell Programming and Scripting

Kill an specific process ID using the KILL and GREP commands

Good afternoon I need to KILL a process in a single command sentence, for example: kill -9 `ps -aef | grep 'CAL255.4ge' | grep -v grep | awk '{print $2}'` That sentence Kills the process ID corresponding to the program CAL255.4ge. However it is possible that the same program... (6 Replies)
Discussion started by: enriquegm82
6 Replies

3. Programming

Ways to eliminate Zombies?

what are the precautions to be taken care for avoiding zombie process ? (8 Replies)
Discussion started by: Gopi Krishna P
8 Replies

4. UNIX for Dummies Questions & Answers

Zombies

I had a problem deleting a zombie process. It refused to be killed. I even tried kill -9 process# but it refused. Any other way of killing it? (7 Replies)
Discussion started by: victorn
7 Replies

5. Shell Programming and Scripting

Kill a process without using kill command

Sorry, posted the question in other forum. (0 Replies)
Discussion started by: sudhamacs
0 Replies

6. Programming

kill(0,-9) don't kill the process

Hi all i have simple c program , when i wish to kill the app im using kill(0,-9) , but it seams this command don't do any thing and the program. just ignore it . what im doing wrong here ? im using HP-UX ia64 Thanks (9 Replies)
Discussion started by: umen
9 Replies

7. UNIX for Advanced & Expert Users

When kill doesnt work, how to kill a process ?

Hi All, I am unable to kill a process using kill command. I am using HP-UX system. I have tried with kill -9 and i have root privilages. How can i terminate this daemon ? ? ? Regards, Vijay Hegde (3 Replies)
Discussion started by: VijayHegde
3 Replies

8. Programming

FreeBSD, fork() and zombies

i'm writing small http proxy server (accept client -> connect to remote proxy server -> recv client's request -> send to remote proxy server -> get responce from remote proxy server -> send answer to client -> close connection to client and to remote proxy server) and having problems with fork().... (2 Replies)
Discussion started by: PsycoMan
2 Replies

9. UNIX for Dummies Questions & Answers

No zombies!

Is there a command that will automaticaly go through and kill all children when you try to kill the parent process. Thanks, David (3 Replies)
Discussion started by: nucca
3 Replies

10. UNIX for Dummies Questions & Answers

Zombies

Okay, I'm working within ansi C and Sun Solaris 7. I have a problem with zombies. I'm currently using the kill command to return the status of a process. How do I check for Zombie PIDs or the right function to return its PID from within a C program? (1 Reply)
Discussion started by: karpolu
1 Replies
Login or Register to Ask a Question