archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

[Feature Request] systemd-oomd

Open Nathan-MV opened this issue 2 years ago • 2 comments

Add systemd-oomd configs and enable by default in archinstall, it is already enabled by default on most major distributions (Ubuntu, Fedora..). Documentation: https://www.freedesktop.org/software/systemd/man/systemd-oomd.html https://www.freedesktop.org/software/systemd/man/oomctl.html https://www.freedesktop.org/software/systemd/man/oomd.conf.html Here is how fedora implemented its configuration: https://fedoraproject.org/wiki/Changes/EnableSystemdOomd#How_to_test

Nathan-MV avatar Jul 12 '22 15:07 Nathan-MV

That looks handy. I'd like to see it get implemented at some point.

There are some considerations for systems without swap space:

It is highly recommended for the system to have swap enabled for systemd-oomd to function optimally. With swap enabled, the system spends enough time swapping pages to let systemd-oomd react. Without swap, the system enters a livelocked state much more quickly and may prevent systemd-oomd from responding in a reasonable amount of time. https://man.archlinux.org/man/systemd-oomd.8.en

JoelLarson avatar Jul 15 '22 03:07 JoelLarson

I was looking into using systemd-oomd but was a little hesitant due to the required config to set up. It would be nice to see this automated with archinstall.

deadmeu avatar Jan 02 '24 15:01 deadmeu