3 ms·
`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.
by 01HNNWZ0MV43FF 1y 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 1y agoIf you've tried `systemd-oomd`, I'm curious what your thoughts are: https://www.freedesktop.org/software/systemd/man/latest/systemd-oomd.service.html https://www.freedesktop.org/software/systemd/man/latest/syst...
- man8alexd 1y agoIn my environment, `systemd-oomd` does nothing with the default settings.
- internet_points 1y agoI 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).