Defunct processes are getting generated

Thread Tools Search this Thread
Operating Systems HP-UX Defunct processes are getting generated
# 1  
Old 09-01-2009
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 highly appreciated. Thanks...

Last edited by kcsahoo; 09-02-2009 at 02:37 AM..
# 2  
Old 09-30-2009
Defunct or Zombie is an undead process,
It's a child process, Once the parent process finished it's job,then it reads it's child's exit status by sends the wait system call. in that way zombie status is removed and it's process ID will be removed from the process table. (then another process may use this PID)
If parent process failed to call wait or parent killed, then these processes will remains in the process table.

Not need to worry about the presence of few zombies but it may grow to a serious problem under heavy load of these zombies.

You can kill these processes once identified.
# 3  
Old 09-30-2009
Thanks Laxmikant. Earlier the same program was running in Compaq True64 UNIX without any problem. After migrating to HP-UX, these defunct processes are getting generated. Please suggest how can I solve this problem. With regards and thanks.
# 4  
Old 10-01-2009
To get rid of these processes,
1.You need to check with vendor of that program and they need to fix it in their code.
2.Other way you can try is probably apply latest patch if it is not.
3.Kill parent process for these zombies, but be carefull !!
4.You reboot the system.

hope this helps.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Defunct process are generated after JNLP connection with a slave and the machine gets very slow

Hi everyone, I'm working on continous integration with Jenkins. I’m facing an issue while connecting a slave (solaris sparc 8) with Jenkins ver. 1.532.2 This slave is connected via the option “Launch slave via execution of command on the Master”. Connection is established with: -... (1 Reply)
Discussion started by: javaPIC
1 Replies

2. 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

3. 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

4. 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 / The tool would look to see if any instances of... (2 Replies)
Discussion started by: steadyonabix
2 Replies

5. 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

6. 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

7. 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

8. 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

9. Solaris

how do I kill defunct processes?

mqm 17700 16815 0 0:00 <defunct> kill -9 does not work, even as root (10 Replies)
Discussion started by: csaunders
10 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