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

And I've always meant to go in and set SSH to be immune to OOM, and deprioritizing others like databases, but I've just never gotten around to it. Looks like oomd could be useful, once we get to kernels that support it in production (looks like 4.20, Ubuntu 18.04 has 4.15).


Another interesting aspect is to set SSH to realtime. When you log in you set it non-realtime if you work is not important to avoid sinking the server into oblivion by a simple command.

It is possible to do when you have shared servers as well, by letting root log in to another port instead and setting that process to realtime instead.

Thoughts in my head but never got around to do it.




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

Search: