Occassionally, I run a command that hogs RAM and brings my system to a grind. Even pressing Ctrl-C
takes 20 minutes to register, because the system is busy swapping to disk.
What solutions are available?
I have some ideas, but don't know exact solutions:
Give maximum priority to the window-manager and system processes, while giving a lower priority to all other processes.
Run a watch-dog process with highest priority that watches for runaway process behaviour. I remember KDE used to have such a tool couple of years back. Is there a modern (GNOME/Unity) equivalent?
Ctrl + \
in place ofCtrl + c
? – jobin May 31 '14 at 07:20