How to kill process if it can't be killed?
Hello LQ.org.
I have problems with vlc and kdenlive. Sometimes they hang up and can't be terminated no matter what I do. For example I try to kill vlc with Code:
killall vlc Code:
ps aux | grep vlc Code:
kill Try htop with "F9" and then different termination signals and none of them work. So the only way to actually terminate those processes for me is to reboot. Can you suggest any other thing to terminate them without rebooting? |
kill <PID> is a nice way to kill a process, if that does not work you could try kill -9 <PID>
If a process becomes a zombie you cannot kill or remove it, only option is to reboot. |
Quote:
|
Quote:
Quote:
Quote:
You can check for zombied processes like this: Code:
ps aux | awk '{ print $8 " " $2 }' | grep -w Z |
Quote:
|
pkill -9 chromi* <-- not sure
kill -9 <number#> that you find using ps aux |
Possibly running in interrupt context - that's "higher" (FSVO ...) than kernel context.
In which case it's crap code, and you're out of luck trying to kill it. Just a guess. |
Also try:
Code:
sudo {...} |
jamison20000e, I used sudo for this purpose. Back then it didn't help. Last time kdenlive froze, "kill -9" helped. Will see how it does with VLC.
|
Hi,
You can try good solution suggested at : # What is Zombie Process ? # How to Kill Zombie Process ? |
|
All times are GMT -5. The time now is 08:52 PM. |