Re: process can't be killed > > When a (application) process doesn't go away after a kill (run as root)
> > and not even after a kill -9, is there any other method to get rid of it
> > besides rebooting? OS is AIX 5.2 ML03.
> > Truss can't attach to the process, the process still has filehandles
> > open to a filesystem
when the process is in kernel space you cannot kill it because it is
protected, otherwise you could assert and crash the box. when a proc
is doing i/o it context switches into kernel space to the the i/o, you
cannot kill it when this happens.. as detailled above a reboot is the
answer in this case.
You should however work out why this pid is stuck doing i/o ? nfs hard
mount and the nfs server gone down ? faulty disk or adapter ? network
card issues / packets dropped etc.. if you fix the issue, then you
wont get into this situation.
Rgds
Mark Taylor |