DebianThis forum is for the discussion of Debian Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If an app freezes you can use killall <name> or killall -vs 9 <name> from the terminal, if X server freezes you can "usually" just ctrl + alt + backspace out and restart it. If a terminal locks up you can switch to a new one and kill it or try to solve it.
But how do you solve problems like an app freezing X and blocking keyboard input (so that ctrl + alt + backspace doesnt work)? Another problem i have is that i work with apps that sometimes memory leak, is there any way to stop that quickly? or is the only way to quickly kill the app when i notice my swap start going down quickly?
i've been thinking about that maybe the best solution would be that if it happens i'd just ssh in from another computer and attempt to kill the apps, the only problem is i only have one computer with a screen right now (i ssh off from my main to the others) so unless i get all the commands right without a screen (pretty hard if you dont know the process name or PID) or switch my screen to my other computers it wouldnt work.
So is there any other way other then hitting that horrible reset button?
Generally, for keyboard lock ups, I have a button on my taskbar that pops up the system monitor. From there I can kill the disturbing program. However, for complete keyboard+mouse freezes usually there is no other option than rebooting