Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

killed procs are defunct now

Status
Not open for further replies.

appi

IS-IT--Management
Mar 17, 2003
296
CH
Hi all,

we are using SuSe Linux Enterprise Server 8.0. I need to know why a user process which is killed by root (kill -9 <id>) will be shown as a defunct process afterwards?
I hoped to get them out of the system with kill -9.
that much defunct processes will blow up our system when we go in production, i guess.


any helps are welcome.
regards
Uuwe
 

It's because the parent process doesn't clean it up. It's a badly written programme, complain to the person who wrote it.
You can't really do anything about zombies unfortunately.

Cheers
 
You could also try to kill using -15 or some other signal, as -9 tends to take the sledgehammer approach.
 
Thanks Ken,

I killed now the father process ID instead of the process ID. This deleted the process. But we need to be sure that this could not be proc #1
In our case it was always a legal parend-id. So I hope it will be okay for our work.
Nobody can watch for it, because it needs to be run at nights.

thanks for your helps
Uwe
 

It usually happens when a process forks a child and doesn't properly handle the SIGCHILD one the subprocesses exit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top