1820123 Members
3123 Online
109619 Solutions
New Discussion юеВ

defunct process

 
navin
Super Advisor

defunct process

Hello,
Could some one please explain what is the quality process to find out the cause for the defunct process , what are all the process to clean it up , i do have more than considerable amount of defunct process in my one of the production server.In my experience i had these kind of situvation before ..but only reboot helped me that time. But i read that having the parent process to realize that there are number of defunct process around ...by doing hup to the ppid which will resolve the issue with out rebooting the server. Is that true.Please advice.Thanks So Much.
Learning ...
4 REPLIES 4
Ninad_1
Honored Contributor

Re: defunct process

Steven E. Protter
Exalted Contributor

Re: defunct process

Shalom navin,

Defunct processes are usually caused by bad applications. They are usually solved by patching and upgrading aforementioned applications.

You can try to kill, then kill -9 the process. If that does not work, you have no choice but to reboot the system to resolve the defunct process. These processes sometimes hold large amounts of memory and can impact system performance.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Citibank_1
Occasional Contributor

Re: defunct process

Hi navin,

defunct process is just an entry in the process table and not a running process. they only occpy a slot in the process table no resoures are used than that.Killing defuncts makes no sense then, only killing their parent process may help to get rid of them.most of their parent may not be available.you have to check your application if you want to avoid it.
spex
Honored Contributor

Re: defunct process

navin,

'ipcs -ma' to see if any defunct processes are holding onto memory. Pay attention to CPID and LPID.

PCS