General
cancel
Showing results for 
Search instead for 
Did you mean: 

a process which can not be killed?

SOLVED
Go to solution
eugene_6
Advisor

a process which can not be killed?

-------------------------------
7419 ? 00:00:00 gaim
-------------------------------

i can't kill this process.
what happend?

i tried all signal..1-63

powerkill.sh
------------------------------

# kill process with signal 1-63
if(( $#<1))
then
echo "Usage: $0 pid"
exit 1
fi

pid=$1
let a=1
while (( a<64))
do
b=$b$a" "
let a=a+1
done

for i in $b
do
kill -s $i $pid
done
5 REPLIES
eugene_6
Advisor

Re: a process which can not be killed?

hmm
i found out this is so called 'zombie' process..

zombie = a process whose parent is dead..

what does 'dead' mean there?

i killed the zombie process by killing its parent process..

thx..
Marco Paganini
Respected Contributor
Solution

Re: a process which can not be killed?

Hello eugene,

If a process makes a system call and this system call gets blocked (let's say, because of a bug or waiting for a device to be available), you won't be able to kill the process (since the control is outside the process space).

In some cases, the only way is to reboot the server.

Regards,
Paga
Keeping alive, until I die.
Marco Paganini
Respected Contributor

Re: a process which can not be killed?

Hello eugene,

If a process makes a system call and this system call gets blocked (let's say, because of a bug or waiting for a device to be available), you won't be able to kill the process (since the control is outside the process space).

In some cases, the only way is to reboot the server.

Regards,
Paga
Keeping alive, until I die.
harry d brown jr
Honored Contributor

Re: a process which can not be killed?

I wonder what "lsof" would show on that process.

If the process isn't consuming any resources, then just ignore it, otherwise you will have to reboot to get it to go away.

live free or die
harry
Live Free or Die
Volker Borowski
Honored Contributor

Re: a process which can not be killed?

Hi,

take care, NEVER kill the parent process if the PPID is "1".

:-)
Volker