1846730 Members
3548 Online
110256 Solutions
New Discussion

Killing a process....

 
SOLVED
Go to solution
Chris Fadrowski
Super Advisor

Killing a process....

I have an Oracle process (actually 3 of them) that i am trying to kill due to an inactive DB. I tried the "Kill" and "kill -9" etc but the processes won't die.

Is there any other commands i can try and why is 'kill" not working as it's supposed to?

reboot my only option?
5 REPLIES 5
Patrick Wallek
Honored Contributor
Solution

Re: Killing a process....

If the process will not die after a 'kill -9' then the process is waiting on something, likely an I/O operation, to complete. If that operation never completes then the process will never die.

It is not that "kill" isn't working as it should. The issue is that the process is not in a state to acknowledge the kill signal sent to it.
Chris Fadrowski
Super Advisor

Re: Killing a process....

makes sense. I guess my only course is reboot?
Pete Randall
Outstanding Contributor

Re: Killing a process....

Unfortunately, unless you can figure out a way to satisfy whatever the process is waiting on, a reboot is the only option.


Pete

Pete
Ganesan R
Honored Contributor

Re: Killing a process....

Hi Chris

Before reboot you can try with fuser if the process really waiting for some I/O

#fuser -ku -c
Best wishes,

Ganesh.
Dennis Handly
Acclaimed Contributor

Re: Killing a process....

I assume these aren't zombies?

Do you really care you can't kill them? Are they holding resources, the SGA?

It isn't kill that's broken but the design of Unix that doesn't allow root to abort I/Os.