How to get rid of zombie process?

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat How to get rid of zombie process?
# 8  
Old 06-05-2013
It appears to be gone. Frankly, unless you want to do this as a hobby, there are much more important things to worry about than the occasional zombie.

And as mentioned above, consider getting the developer/vendor to fix the zombie problem. What you are doing is closing the barn door after the livestock has already been stolen.
# 9  
Old 06-05-2013
Hi,
I did not see the Zombie process until now, but one thing i have noticed here is :
it was the Java Process(for WebLogic server) that was running in to Zombie
when i look for the Java Path and java version, it cant find, below is the output.
what do you guys suggest ?
Code:
[cmsprod@drcmsapp303 ~]$ which java
/usr/bin/which: no java in (.:/u01/app/oracle/product/11.2/db_1/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/cmsprod/bin:/u01/app/oracle/product/10.2/agent10g/bin)
[cmsprod@drcmsapp303 ~]$ java -version
-bash: java: command not found
[cmsprod@drcmsapp303 ~]$

Thanks

Last edited by Scott; 06-05-2013 at 05:54 PM.. Reason: Code tags, please...
# 10  
Old 06-05-2013
Well, you do not have JAVA PATH'd, but they do! Smilie

JAVA can be installed anywhere. I'd expect JAVA to have a thread taking sigchld calls.

Walk the tree back to 1 to see how the zombie got launched.
# 11  
Old 06-06-2013
I did set the Java Path and restarted the WebLogic services,
i do see the zombie process started again after 12hours.

can i have some more inputs to over come these Z-process...

Thanks
# 12  
Old 06-06-2013
You might strace the parent to see if they are in a loop, but like the man said, coding error. If it is a java parent, maybe it needs to do a Process.waitfor(): Process (Java Platform SE 6)() Not sure, good question for JAVA gurus up at Oracle.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Zombie process

What is the overhead associated with zombie process?Is it running out of process-ID?:confused: Since some information is stored in process table.. Thanks in Advance (4 Replies)
Discussion started by: jois
4 Replies

2. Solaris

How to Kill Zombie Process

Dear Bos, I have one server,everday if I check with command TOP always present zombie,like below: last pid: 4578; load averages: 0.15, 0.11, 0.13 07:56:15 298 processes: 295 sleeping, 1... (10 Replies)
Discussion started by: fredginting
10 Replies

3. AIX

zombie process

Is there an equivilant to the preap command in AIX that would allow me to get rid of a zombie process. I am new to AIX, moving over from Solaris and in the past I have been able to preap the pid on the defunct process to clean them up. I have looked around and the best I can see is that it may... (3 Replies)
Discussion started by: sboots
3 Replies

4. Solaris

zombie process

dear friends, in an interview they asked me what is zombie process. how we can identifying these process.if can you kill all zombie process. (8 Replies)
Discussion started by: sijocg
8 Replies

5. Shell Programming and Scripting

Zombie process

Hi I need help because I don't know if it is possible to add a find inside a cat. like I have a file with the pid of the process that use to became zombie. And I have the same pid stored in the var (pid1) now, I have no clue how to check if the the find finds the pid or even if it's... (2 Replies)
Discussion started by: ruben.rodrigues
2 Replies

6. Linux

How to kill zombie process

I have RHES4 machine with VRTSralus - Backup Exec agent installed there and running as a service. The agent hiccups sometimes and turns into defunct state. The problem is that I cannot kill it anyway., it stays there forever until the machine is rebooted. I wonder if anyone had such an experience... (1 Reply)
Discussion started by: will_mike
1 Replies

7. Linux

zombie process

Hi What is the command to find only the zombie processes?? How to write the code in C to fetch the no. of zombie processes?? Thanx (5 Replies)
Discussion started by: jeenat
5 Replies

8. Programming

how to handle a zombie process

hi! i am writing a c program which has the following structure: main() { child1 child1.1 child2 child2.1 } the child1.1 and 2.1 are becoming zombies... how can i handle this... thanx (1 Reply)
Discussion started by: mridula
1 Replies

9. UNIX for Advanced & Expert Users

Zombie process

I would like to create a zombie process so that I can test monitoring software functionality. Any techniques? (2 Replies)
Discussion started by: swhitney
2 Replies

10. UNIX for Dummies Questions & Answers

Zombie process

How do i kill a zombie process. Is it that only root can kill a zombie process. (8 Replies)
Discussion started by: orca
8 Replies
Login or Register to Ask a Question