I'm using cgroup to partition my processes and I'm getting Out Of Memory messages in my kernel logs.
However, I can't find which partition causes them. I've checked the memory controller cgroup but there are no obvious ways to use it.
The problem is, by the time I see 'task killed' message in system logs the task is dead, its /proc entry is gone and cgroup's tasks file doesn't have the pid of the killed task.