Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Applications that hang and can't be killed is a much bigger problem to me in Linux than in Windows 10.

Have you seen anything in Linux that you can't kill with "kill -9"?



On Linux, processes that are stuck in D state (waiting on I/O) cannot be signaled. More specifically, the signal will be queued until the task exits that state. This includes signal 9.

The process may well never exit that state, for example if the I/O it's waiting for is actually over a networked filesystem and the NIC is misbehaving.


Fortunately we have TASK_KILLABLE to replace TASK_UNINTERRUPTIBLE. https://lwn.net/Articles/288056/


I have a nice shortcut : Windows+K calls "xkill" :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: