On Fri, Jan 3, 2020 at 8:20 PM Ben Cotton <bcotton(a)redhat.com> wrote:
== Summary ==
Install earlyoom package, and enable it by default. This will cause
the kernel oomkiller to trigger sooner, but will not affect which
process it chooses to kill off. The idea is to recover from out of
memory situations sooner, rather than the typical complete system hang
in which the user has no other choice but to force power off.
I've read the whole thread (phew!) and I support the proposal. The user
experience is improved and I don't see any substantial disadvantages (power
management etc can hopefully be fine-tuned). Of course the code should be
well inspected by someone knowledgeable, if it's going to run with high
privileges. And if there are serious candidates with a better approach
(e.g. something from systemd), it might make sense to delay this and wait a
while. OTOH, if verifying the code and setting it up is not that much work,
those candidates can *replace* early-oom in the future, and no delay is
necessary. Overall +1 from me.