how do I kill defunct processes?


 
Thread Tools Search this Thread
Operating Systems Solaris how do I kill defunct processes?
# 1  
Old 06-15-2006
how do I kill defunct processes?

mqm 17700 16815 0 0:00 <defunct>

kill -9 does not work, even as root
# 2  
Old 06-15-2006
Process 17700 is already dead. Process 16815 is the parent of process 17700. Process 16815 is currently the only thing capable of making process 17700 disappear completely. Until the parent waits for its dead children or informs the os that it is not interested in any dead children, this situation will persist. You could kill process 16815. Then process 17700 will be inherited by init and init will reap it immedately.
# 3  
Old 06-15-2006
On another note, are you actually using WebSphere's MQ for JMS? I've seen admins in the past that are using WAS, but not MQ for JMS who install it as default. You then end up with processes you really don't use or need.
# 4  
Old 06-15-2006
sol: Smilie
1) A reboot can solve your issue, OR
2) Leave it as it is.

Also the defunct (Zombie) does not occupy much of resources until you have them in lots where by you are devoid of PID's.
# 5  
Old 06-15-2006
dbasan,
Read Perderabo's reply. You do not need a reboot to get rid of defunct processes. I have seen runaway processes fork 3000+ defunct processes which were cleaned up in mircoseconds after the parent process was killed.
# 6  
Old 06-16-2006
You can also reap processes if init does not do so using preap.
# 7  
Old 06-16-2006
I'm pretty sure that preap is Solaris only. I'd be interested to know if any other system has it.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

How to clear defunct processes??

How to find out and clear the 'defunct' processes at OS and DB level ..?? (6 Replies)
Discussion started by: SurajR
6 Replies

2. HP-UX

Defunct Processes; Maximum Process

I'd like to remove this defunct processes without rebooting. Or, I could remove this defuncts when the maximum allowable process is nearly reached, then send an email to the user/team. How can I determine the maximum allowable process that a server can handle? Any thoughts? Jin@PRODUCTION: >... (3 Replies)
Discussion started by: Jin_
3 Replies

3. UNIX for Advanced & Expert Users

defunct processes?

HiI had a tool fail recently, on analysis I found it was cleaning up orphaned directories that had been created by specific processes that had died for some reason, thus failing to clean up after themselves.The directories were of the form /dir.pid. The tool would look to see if any instances of... (2 Replies)
Discussion started by: steadyonabix
2 Replies

4. HP-UX

[Solved] How to remove / kill defunct processess?

Hi, Is there a way or a command to remove defunct processes on my hp-ux server? Its shows a lot of them and i think its affecting the performance of the server. who -d |wc -l 580 who -d shows aktarafr pts/109 Oct 1 15:05 passji pts/119 Feb 25 14:20 forthm ... (6 Replies)
Discussion started by: jinslick25
6 Replies

5. HP-UX

Defunct processes are getting generated

Dear Sir / Madam, We have two socket programs which are running in background. These two socket programs are creating defunct processes in HP-UX which were not happening in Compaq True64 UNIX. What is the root cause of these defunct processes and how can we correct it? Your suggestion will be... (3 Replies)
Discussion started by: kcsahoo
3 Replies

6. Shell Programming and Scripting

Abnormal behaviour of Defunct processes.

Hi All, Sorry to bother you all if my query is silly. Can you please clarify my doubts on defunct processes. Actually coming to the scenario, i have a server which is under cluster environment. Server B is having problems with the defunct process. There was a cron scheduled on Server B which... (0 Replies)
Discussion started by: reddybs
0 Replies

7. AIX

Defunct Processes

Hi, Can any one help me to get rid of defunct process on UNIX IBM AIX box. These processes started when the system was rebooted almost after 1 1/2 years. Once one defunct process is created then all the user ids get infected and in turn creates numerous defunct processes. We have tried... (6 Replies)
Discussion started by: trokia88
6 Replies

8. UNIX for Dummies Questions & Answers

whats the difference between zombie orpha and defunct processes

can some one please explain zombie orphan defunct and how they r related (3 Replies)
Discussion started by: pbsrinivas
3 Replies

9. UNIX for Dummies Questions & Answers

Question about defunct processes

Hey guys/gals. I am new to the site and fairly new to Unix/Linux. I have a master netbackup server (solaris) that I get pinged on occasionally regarding defunct processes. (Usually over 50 or so of them.) I know what a defunct process is, but what is it a product of? Just plain sloppy code? (From... (1 Reply)
Discussion started by: EMCSANMAN
1 Replies

10. UNIX for Dummies Questions & Answers

<DEFUNCT> Processes

When I ps -ef I see about 3 or 4 <DEFUNCT> things - what are these, and what causes them? Are they a concern? How can I fix them? Thanks, Michael (4 Replies)
Discussion started by: cuppjr
4 Replies
Login or Register to Ask a Question