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

KAMEZAWA Hiroyuki
2009-02-03T01:23:11Z

On Mon, 2 Feb 2009 19:38:49 +0530
Balbir Singh <balbir@linux.vnet.ibm.com> wrote:

> * Balbir Singh <balbir@linux.vnet.ibm.com> [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@linux.vnet.ibm.com>
>

> 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