solutions for computer freeze?
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?
|