Hacker News new | past | comments | ask | show | jobs | submit login

What I really want in Linux is some way to kill apps when it gets low on memory and everything gets stuck. I know there is Magic SysRq Key - but I always forget about the keys and also it requires recompiling the kernel.



Using Magic SysRq keys shouldn't require recompiling the kernel. Magic SysRq is toggle-able and configurable via sysctl. If you're on Ubuntu, see /etc/sysctl.d/10-magic-sysrq.conf


Disable swap (or reduce it to <100MB), it'll never get slow, the kernel will kill things for you.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: