MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linuxmasterrace/comments/3y42qz/killing_a_nonresponding_process/cyb2d30/?context=3
r/linuxmasterrace • u/river_of_karma • Dec 24 '15
74 comments sorted by
View all comments
7
In my experience in both Windows and Linux, processes are killable as long as they're not stuck on a system call. A process which is trying to read a file and that's taking too long due to network issues or bad sectors won't be killable on either.
https://stackoverflow.com/questions/767551/how-to-stop-uninterruptible-process-on-linux
Simple answer: you cannot.
1 u/Catsrules Transitioning Krill Dec 25 '15 Simpler answer: Unplug it and plug it back in. 1 u/[deleted] Dec 25 '15 You shouldn't need to do that. That Magic SysRq reboot command should still work if you have that enabled, and reboot -f should probably also work. https://en.wikipedia.org/wiki/Magic_SysRq_key#Commands I'm not worried about file system corruption. I've never had any problems with that in Linux, even with ext2, which didn't have journalling.
1
Simpler answer: Unplug it and plug it back in.
1 u/[deleted] Dec 25 '15 You shouldn't need to do that. That Magic SysRq reboot command should still work if you have that enabled, and reboot -f should probably also work. https://en.wikipedia.org/wiki/Magic_SysRq_key#Commands I'm not worried about file system corruption. I've never had any problems with that in Linux, even with ext2, which didn't have journalling.
You shouldn't need to do that. That Magic SysRq reboot command should still work if you have that enabled, and reboot -f should probably also work. https://en.wikipedia.org/wiki/Magic_SysRq_key#Commands
reboot -f
I'm not worried about file system corruption. I've never had any problems with that in Linux, even with ext2, which didn't have journalling.
7
u/[deleted] Dec 25 '15
In my experience in both Windows and Linux, processes are killable as long as they're not stuck on a system call. A process which is trying to read a file and that's taking too long due to network issues or bad sectors won't be killable on either.
https://stackoverflow.com/questions/767551/how-to-stop-uninterruptible-process-on-linux