Re: user defined OOM policies

From: David Rientjes
Date: Mon Nov 25 2013 - 20:31:37 EST


On Thu, 21 Nov 2013, JÃrn Engel wrote:

> One ancient option I sometime miss was this:
> - Kill the biggest process.
>

That's what both the system and memcg oom killer currently do unless you
change how "biggest process" is defined with /proc/pid/oom_score_adj. The
goal is the kill a single process with the highest rss to avoid having to
kill many different processes.