Re: oom_killer crash linux system

From: KOSAKI Motohiro
Date: Tue Oct 19 2010 - 23:24:42 EST


>
> >
> > can you please try 1) invoke oom 2) get page-types -r again. I'm curious
> > that oom makes page accounting lost again. I mean, please send us oom
> > log and "page-types -r" result.
> >
> > thanks
>
> ok, i do the experiment and catch the log:

thanks.


> active_anon:398375 inactive_anon:82967 isolated_anon:0
> active_file:81 inactive_file:429 isolated_file:32
> unevictable:13 dirty:2 writeback:14 unstable:0
> free:11942 slab_reclaimable:2391 slab_unreclaimable:3303
> mapped:5617 shmem:33909 pagetables:2280 bounce:0

active_anon + inactive_anon + isolated_anon = 481342 pages ~= 1.8GB
Um, this oom doesn't makes accounting lost.

> here is the page-types log:
> flags page-count MB symbolic-flags long-symbolic-flags
>
> 0x0000000000005828 83024 324 ___U_l_____Ma_b___________________ uptodate,lru,mmap,anonymous,swapbacked
> 0x0000000000005868 358737 1401 ___U_lA____Ma_b___________________ uptodate,lru,active,mmap,anonymous,swapbacked
> total 515071 2011

page-types show similar result.


The big difference is, previous and current are showing some different processes.
only previous has VirtualBox, only current has vmware-usbarbit, etc..

Can you use same test environment?



--
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/