How to switch off systemd's out-of memory killer daemon

https://www.freedesktop.org/software/systemd/man/systemd-oomd.service.html

systemctl stop systemd-oomd.service    #stop service
systemctl disable systemd-oomd.service   #disable it, so won't start on boot
systemctl mask systemd-oomd.service     #prevent other processes to start the service
5 Likes