Operating System - HP-UX
1834346 Members
2129 Online
110066 Solutions
New Discussion

how kill a process with PPID1

 
SOLVED
Go to solution
Wood_2
Frequent Advisor

how kill a process with PPID1

Hello

I've process dscmc (for IBM Tsm) with a ppid 1.
I can't kill the process with kill -9.

How can i proceed, to destroy this entry without reboot.
I've HPUX 11.0

Thank you for your help

Nicolas
8 REPLIES 8
Pete Randall
Outstanding Contributor

Re: how kill a process with PPID1

Nicolas,

Sorry, if kill -9 won't do it, there's no way. Either the process is waiting on I/O to complete or it's a true zombie. If it is waiting on I/O, there's a small chance you could kill it if you could figure out how to satisfy the I/O request, but that's not very likely. A reboot is the only thing that will get rid of these.


Pete

Pete
Peter Godron
Honored Contributor

Re: how kill a process with PPID1

Nicolas,
kill -9 should kill the job.
Once the process description goes to
< defunct> they normally only disappear after a reboot.
Regards
Wood_2
Frequent Advisor

Re: how kill a process with PPID1

the process is not defunct.
How be sure that the process is waiting an IO.

The process backup work trough the san.

Peter Godron
Honored Contributor

Re: how kill a process with PPID1

Hi,
tusc may help you identify what is going on.
http://hpux.asknet.de/hppd/hpux/Sysadmin/tusc-7.7/
Regards
Wood_2
Frequent Advisor

Re: how kill a process with PPID1

can i use tusc, the process is already started.

Elmar P. Kolkman
Honored Contributor

Re: how kill a process with PPID1

It might also be the process is waiting for its children. You might check out if there are any by doing 'ps -ef | grep ' and look if those can be killed...
Every problem has at least one solution. Only some solutions are harder to find.
Tim D Fulford
Honored Contributor
Solution

Re: how kill a process with PPID1

Hi

I've seen processes hang around after kill -9 and it is because something is keeping them alive (like child proces IO ...). along these lines check that things like Stale NFS is not part of the problem.

Regards

Tim
-
Wood_2
Frequent Advisor

Re: how kill a process with PPID1

It seems to be io problem.

We try to reboot the server this night to free the process.

Thank you for your help.