▲ | 01HNNWZ0MV43FF 4 days ago | |||||||
`sudo apt-get install earlyoom` Configure it to fire at like 5% and forget it. I've never seen the OOM do its dang job with or without swap. | ||||||||
▲ | cmckn 4 days ago | parent | next [-] | |||||||
If you've tried `systemd-oomd`, I'm curious what your thoughts are: https://www.freedesktop.org/software/systemd/man/latest/syst... | ||||||||
| ||||||||
▲ | internet_points 4 days ago | parent | prev [-] | |||||||
I enable oom_kill on sysrq, so I can hit alt+sysrq+f to invoke OOM; in /etc/sysctl.d/10-magic-sysrq.conf I have `kernel.sysrq = 240` (ie. 128+64+32+16, 128 being the one for the f key). |