Operating System - HP-UX
1753510 Members
5109 Online
108795 Solutions
New Discussion юеВ

Re: Unkillable processes held by init process

 
villarre
Occasional Contributor

Unkillable processes held by init process

Hi all, do you know if there's any way to kill some hung process being held by init? See below:

 

root@ustlslpwr110[/root]ps -ef | grep dsmc
root 6634 1 0 Sep 15 ? 0:00 dsmc
root 28305 13865 0 06:12:23 pts/13 0:00 dsmc
root 25705 1 0 Sep 15 ? 0:00 dsmc
root 29140 1 0 11:48:55 ? 0:00 /opt/tivoli/tsm/client/ba/bin/dsmcad
root 11335 1 0 Sep 14 ? 0:01 /opt/tivoli/tsm/client/ba/bin/dsmc sched -se=ustlscbu300a
root 29511 1 0 Sep 14 ? 0:00 dsmc
root 18973 6440 0 13:23:31 pts/12 0:00 grep dsmc
root 23496 1 0 Sep 14 ? 0:00 /opt/tivoli/tsm/client/ba/bin/dsmc sched -se=ustlscbu300a
root 25175 1 0 Sep 15 ? 0:04 /opt/tivoli/tsm/client/ba/bin/dsmc sched
root 17937 1 0 Sep 15 ? 0:00 /opt/tivoli/tsm/client/ba/bin/dsmc sched
root 20055 1 0 Sep 16 ? 0:00 dsmc
root 26497 1 0 06:08:12 pts/13 0:01 /opt/tivoli/tsm/client/ba/bin/dsmc sched
root 26109 1 0 Apr 30 ? 900:31 /opt/tivoli/tsm/client/ba/bin/dsmc sched
root 23491 1 0 Sep 16 ? 0:00 dsmc
root 17801 1 0 02:43:21 ? 0:00 dsmc
root 29171 16997 0 11:49:04 pts/11 0:00 dsmc
root 14347 1 0 Sep 16 ? 0:00 dsmc
root 29137 1 0 11:48:55 pts/11 0:00 /opt/tivoli/tsm/client/ba/bin/dsmc sched
root@ustlslpwr110[/root]kill -9 6634
root@ustlslpwr110[/root]kill -9 6634
root@ustlslpwr110[/root]ps -ef | grep 6634
root 6634 1 0 Sep 15 ? 0:00 dsmc
root 19155 6440 0 13:23:49 pts/12 0:00 grep 6634
root@ustlslpwr110[/root]

 

Server info:
root@ustlslpwr110[/root]uname -a
HP-UX ustlslpw B.11.23 U ia64 1289868188 unlimited-user license
root@ustlslpwr110[/root]

 

I would like to kill those dsmc processes but I am not able to do it since they never die. Processes being held by a process different than 1 can be killed killing the parent processes but: What about those being held by init? Any solution to that without rebooting the server?

Appreciate your comments!

3 REPLIES 3
Dennis Handly
Acclaimed Contributor

Re: Unkillable processes held by init process

>Processes being held by a process different than 1 can be killed killing the parent

 

Yes, you can kill zombies by killing the zombie master.

 

But for init, it's whole purpose is to reap zombies so these are NOT zombies but orphans.

If kill -9 doesn't work, these are hung on I/O.

villarre
Occasional Contributor

Re: Unkillable processes held by init process

So, is it there any possibility to kill these orphans? Or the reboot would be the final solution? Thanks!

Dennis Handly
Acclaimed Contributor

Re: Unkillable processes held by init process

>is it there any possibility to kill these orphans? Or the reboot would be the final solution?

 

Only by getting the I/O to complete or error out.  But probably a reboot is the only way.

You might want to use tusc to see what it's waiting for.