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

From: Shakeel Butt
Date: Mon May 04 2020 - 10:57:21 EST


On Mon, May 4, 2020 at 7:20 AM Tetsuo Handa
<penguin-kernel@xxxxxxxxxxxxxxxxxxx> wrote:
>
> 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?

>From what I understand, that patch is specifically for controlling
messages to consoles. The messages will still be in logs, right?