Options to stop processes that can't be killed -9 other than reboot

Cameron Simpson cs at zip.com.au
Fri Aug 19 05:35:49 UTC 2011


On 15Aug2011 14:55, sunhux G <sunhux at gmail.com> wrote:
| On Mon, Aug 15, 2011 at 2:32 PM,  <mukesh.kale09 at gmail.com> wrote:
| > Killall <process name >
| > -- mukesh
|
| If "kill -9 pid" doesn't work, would killall work?

Of course not.

Basicly, if kill -9 doesn't remove the process, it is wedged on some
kernel level resource. When that comes good the process will exit but
not before.

Does "lsof -p 25618" (adjust for whatever PID) tell you anything useful
about the hung process? Is the tape drive ok? Does the command "strace
-p 25618" (again, adjust) tell you what function call is in progress,
and what it is accessing? Probably the tape drive, but check out the
system call file descriptor against those shown by lsof.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

I will not compromise, just to look good in your eyes.  - Falling Joys




More information about the redhat-list mailing list