This has happened to me only once on Linux. I still tell stories about it.
It was a CD burning program stuck in uninterruptible sleep! Trapped in a system call into the kernel that can never be interrupted by a signal, it was truly unkillable. The SIGKILLs simply piled up never to be delivered.
Yeah... It doesn't happen often and when it does, it's usually a driver and/or hw issue that is likely to leak memory and/or hold file descriptors but procs in D (uninterruptible_sleep) state do happen. It's really obnoxious that murdering them with SIGKILL does nothing.
A while ago I kept a shortcut in the taskbar that ran a batch file that killed any unresponsive task, worked even on those tasks that Task Manager can’t seem to close. As long as explorer was still running and I could alt tab and press that button it worked 100% of the time
I pull out my keyboard / and I pull out my gloc / and I dismount your girl / and I mount slash proc / cos I've got your pid / and the bottom line / is you best not front / or its kill dash nine
130% and it doesn’t care about your kills or killalls or pkills or SIGKILLs…. It’s just gonna go, no matter what, until you shut the fucker down by unplugging it.
Sometimes you’ve just got a process that just won’t listen to commands.
One time I was playing modded Skyrim when it froze/crashed at the loading screen
So I summon task manager, it hides behind the frozen game. I alt+tab and start blind keying to Skyrim to end it, been here hundreds of times, but nothing happens and the Skyrim world music STARTS???!!!
ALT+TAB to see TM and Skyrim both reporting non-responsive. Tab to Skyrim and press w, clearly hear character moving and reacting to my input
Try again to end process via ALT+F4, No dice. Try via TM, still unresponsive
I had to reboot my PC with a hard power button press that time and I still don't fully understand what the FUCK happened
New Vegas does the same thing, hiding Task Manager behind itself when it crashes. I found a workaround by using Ctrl+Alt+Del, clicking to make the cursor appear, and then pressing the Windows key which makes the taskbar appear. Then the game window can be closed from the taskbar.
As someone who's relatively new to Linux, anyone want to explain what these lines would do? I'm aware of KILL, but dunno what the '-9' refers to. Not familiar with sysrq-trigger
The kill command allows you to specify which type of kill signal you want to send. -9 sends signal 9 or SIGKILL, and we're sending it to pid 1.
That would force kill systemd, which I just have to assume will send your computer to a crashing halt.
The echo command is writing "c" to a file at /proc/sysrq-trigger which I don't really know how it works but this suggests you'll "crash the system without first unmounting file systems or syncing disks attached to the system."
I haven't installed fuck so I'm not sure how that works