Re: [-mm patch] Show memcg information during OOM

From: KAMEZAWA Hiroyuki
Date: Mon Feb 02 2009 - 20:23:22 EST


On Mon, 2 Feb 2009 19:38:49 +0530
Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> wrote:

> * Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> [2009-02-02 18:22:40]:
>
> > Hi, All,
> >
> > I found the following patch useful while debugging the memory
> > controller. It adds additional information if memcg invoked the OOM.
> >
> > Comments, Suggestions?
> >
>
>
> Description: Add RSS and swap to OOM output from memcg
>
> From: Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx>
>

> This patch displays memcg values like failcnt, usage and limit
> when an OOM occurs due to memcg.
>

please use "KB" not bytes in OOM killer information.

And the most important information is dropped..
Even if you show information, the most important information that
"where I am and where we hit limit ?" is not coverred.
Could you consider some way to show full-path ?

OOM-Killer:
Task in /memory/xxx/yyy/zzz is killed by
Limit of /memory/xxxx
RSS Limit : Usage: Failcnt....
RSS+SWAP Limit: ....



Thanks,
-Kame

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/