Operating System - HP-UX
1833584 Members
3700 Online
110061 Solutions
New Discussion

Re: how to erase zombie process

 
Md. Shafiullah
Advisor

how to erase zombie process

In top result, it shows 1 zombie process. What is it? How to clean it? Will it hamper the system?
8 REPLIES 8
Vibhor Kumar Agarwal
Esteemed Contributor

Re: how to erase zombie process

Zombie processes are those whose parents have died.

Will it hamper your system will depend on what that process is doing.

To kill it

kill -9 `ps -ef | grep zombie | awk '{ print $whatever }'
Vibhor Kumar Agarwal
Md. Shafiullah
Advisor

Re: how to erase zombie process

when i run #ps -ef|grep zombie
it doesnt show any process. But it still showing 1 zombie process running when i run top.
Mahesh Kumar Malik
Honored Contributor

Re: how to erase zombie process

Hi

A zombie process is created when a parent process dies without cleaning up its child process. You can not clean them up after the fact except reboot. They generally dont cause any harm . If you are seeing many zombies you should investigate which program is causing them and fix the problem.

Regards
Mahesh
vinod_25
Valued Contributor

Re: how to erase zombie process

hi md,

There is a program called 'kill zomb' and may be obtained by calling Interex (the International Association of Hewlett-Packard Computer Users) at(408) 738-4848, fax (408) 736-2156, or writing them at:

Interex
Contributed Software Library/HP-UX
585 Maude Court
Sunnyvale, CA. 94088-3439

see if it helps.,

Good luck !!!

Vinod K
CAS_2
Valued Contributor

Re: how to erase zombie process

Run

ps -ef | grep defunct
Fabio Ettore
Honored Contributor

Re: how to erase zombie process

Hi,

I wouldn't worry about zombie processes, they usually don't hamper the system and they will go away after a reboot.
Can you confirm that your application and system are working fine?
If you reply YES then don't worry so much about that. I would worry about that if you see a lot of zombie processes and always the same.

Best regards,
Fabio
WISH? IMPROVEMENT!
DCE
Honored Contributor

Re: how to erase zombie process


The command

ps -elf | grep Z

will display your zombie process. you may or may not be able to kill it, depending on what state it is in.

Dave
Md. Shafiullah
Advisor

Re: how to erase zombie process

I have seen that the zombie process does not take any memory (a few kb) and CPU resources. So I think I dont need to worry about it. Thanks all guys for your time and effort to reply my question.