4 ms·
I never liked the OOM reaper. What it didn't do, was ask me what I wanted to kill. What it decided to kill, was usually something I didn't want it to kill, lik
by ggm 5y ago
I never liked the OOM reaper. What it didn't do, was ask me what I wanted to kill.
What it decided to kill, was usually something I didn't want it to kill, like X
- throwawayboise 5y agoYep. sshd was another favorite target. I'd rather it just crashed the system and rebooted than doing what it does. Ideally I'd want to tell it: first, kill java. Next, python. I think this is possible but I never was able to understand how to do it.
- ggm 5y agokill java, and keep on killing java with fire. Then move on to the printer daemon, the 200 vtys you forked on console I never use, the mouse daemon, and maybe in the end, sendmail.
- cwalv 5y agoThere's a more configurable userspace alternative: https://github.com/facebookincubator/oomd https://github.com/facebookincubator/oomd
- bmn__ 5y agoUse `earlyoom`. It comes with a sane whitelist and blacklist. https://news.ycombinator.com/item?id=27218036 https://news.ycombinator.com/item?id=27218036