Re: [PATCH] memcg: oom: ignore oom warnings from memory.max

From: Tetsuo Handa
Date: Mon May 04 2020 - 10:20:37 EST


On 2020/05/04 22:54, Shakeel Butt wrote:
> It may not be a problem for an individual or small scale deployment
> but when "sweep before tear down" is the part of the workflow for
> thousands of machines cycling through hundreds of thousands of cgroups
> then we can potentially flood the logs with not useful dumps and may
> hide (or overflow) any useful information in the logs.

I'm proposing a patch which allows configuring which OOM-related messages
should be sent to consoles at
https://lkml.kernel.org/r/20200424024239.63607-1-penguin-kernel@xxxxxxxxxxxxxxxxxxx .
Will that approach help you?