Re: OOM-killer and strange RSS value in 3.9-rc7

Michal Hocko
2013-04-17T14:19:14Z

On Wed 17-04-13 17:47:50, Han Pingtian wrote:
> [ 5233.949714] Node 1 DMA free:3968kB min:7808kB low:9728kB high:11712kB active_anon:0kB inactive_anon:3584kB active_file:2240kB inactive_file:576kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:4194304kB managed:3854464kB mlocked:0kB dirty:64kB writeback:448kB mapped:0kB shmem:64kB slab_reclaimable:106496kB slab_unreclaimable:3654976kB kernel_stack:14912kB pagetables:18496kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:531 all_unreclaimable? yes

This smells either like a slab backed memory leak or something went
crazy and allocate huge amount of slab. You have 3.6G (or of 4G
available) of slab_unreclaimable. I would check /proc/slabinfo for which
cache consumes that huge amount of memory.
--
Michal Hocko
SUSE Labs