1832510 Members
4888 Online
110043 Solutions
New Discussion

killing a process

 
dhanish
Regular Advisor

killing a process

hi,
I am not ablle to kill a process using kill -9 pid .This is not a kernel process ..its user initiated process.Can anybody help me and tell me any other way to kill this process.

thnks
Never Say Die
5 REPLIES 5
Rainer von Bongartz
Honored Contributor

Re: killing a process


user processes make system calls and enter in kernel mode.

if this calll hangs you won't be able to kill -9.

you might even have to reboot your box to get it free,
but you should find out what the precess is supposed to do and why it might hang

good luck
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Shahul
Esteemed Contributor

Re: killing a process



Hi

As per my experience rebooting is the solution for this problem. Before that U can try killing all process which are initiated by that particular user.


Shahul
Ravi_8
Honored Contributor

Re: killing a process

Hi,
some of the user processes use the IPC's to make system call(s) to kernel, if such processes hangs kill can't kill such processes, rebooting the m/c is only the solution
never give up
dhanish
Regular Advisor

Re: killing a process

Hi,
Thanks to all of u..so i have to schedule rebootong.

thnks
Never Say Die
Magdi KAMAL
Respected Contributor

Re: killing a process

Hi

If this process is a zambie process, you are not able to kill it ( this kind of users process are coming from bad programming ).
Zambies process appears when a forked ( child ) process executes an EXIT instruction but his Parent process do not wait for him during his time life ( wait instruction ) even . Then , the forked process becomes a ZOBIE .

Magdi