Ben Cotton <bcotton(a)redhat.com> writes:
For swap based actions, systemd-oomd will monitor the system-wide
swap
space and act when available swap falls below the configured
threshold, starting with the cgroups with the highest swap usage to
the least. Keeping some amount of swap (if enabled) available will
prevent the kernel OOM killer from killing processes unpredictably and
spending an unbounded amount of time afterwards.
-1 from me. If the kernel behavior is a problem, fix it - don't kludge
around it in userspace.
Thanks,
--Robbie