linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [question] how to figure out OOM reason? should dump slab/vmalloc info when OOM?
@ 2014-01-20 10:36 Jianguo Wu
  2014-01-21  5:34 ` David Rientjes
  0 siblings, 1 reply; 6+ messages in thread
From: Jianguo Wu @ 2014-01-20 10:36 UTC (permalink / raw)
  To: Andrew Morton, Johannes Weiner, Rik van Riel, David Rientjes,
	linux-mm, linux-kernel

When OOM happen, will dump buddy free areas info, hugetlb pages info,
memory state of all eligible tasks, per-cpu memory info.
But do not dump slab/vmalloc info, sometime, it's not enough to figure out the
reason OOM happened.

So, my questions are:
1. Should dump slab/vmalloc info when OOM happen? Though we can get these from proc file,
but usually we do not monitor the logs and check proc file immediately when OOM happened.

2. /proc/$pid/smaps and pagecache info also helpful when OOM, should also be dumped?

3. Without these info, usually how to figure out OOM reason?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-12  0:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-20 10:36 [question] how to figure out OOM reason? should dump slab/vmalloc info when OOM? Jianguo Wu
2014-01-21  5:34 ` David Rientjes
2014-01-21 12:40   ` Jianguo Wu
2014-01-21 20:41     ` David Rientjes
2014-02-11  4:06       ` Jianguo Wu
2014-02-12  0:28         ` David Rientjes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox