[question] how to figure out OOM reason? should dump slab/vmallocinfo when OOM?
From: Jianguo Wu
Date: Mon Jan 20 2014 - 05:39:59 EST
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 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/