how to debug oom killer errors

Prashant Shah pshah.mumbai at gmail.com
Tue May 14 09:40:44 EDT 2013


Hi,

How to decode the stats thrown by the oom killer ? Is there any good
in depth documentation out there for this ?

Node 0 DMA per-cpu:
cpu 0 hot: high 0, batch 1 used:0
cpu 0 cold: high 0, batch 1 used:0
Node 0 DMA32 per-cpu:
cpu 0 hot: high 186, batch 31 used:25
cpu 0 cold: high 62, batch 15 used:49
Node 0 Normal per-cpu: empty
Node 0 HighMem per-cpu: empty
Free pages:        3532kB (0kB HighMem)
Active:4471 inactive:4099 dirty:1 writeback:0 unstable:0 free:883
slab:14568 mapped-file:542 mapped-anon:8049 pagetables:1033
Node 0 DMA free:368kB min:44kB low:52kB high:64kB active:0kB
inactive:0kB present:9700kB pages_scanned:0 all_unreclaimable? yes
lowmem_reserve[]: 0 632 632 632
Node 0 DMA32 free:3164kB min:3192kB low:3988kB high:4788kB
active:17884kB inactive:16396kB present:647348kB pages_scanned:920345
all_unreclaims
lowmem_reserve[]: 0 0 0 0
Node 0 Normal free:0kB min:0kB low:0kB high:0kB active:0kB
inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
Node 0 HighMem free:0kB min:128kB low:128kB high:128kB active:0kB
inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
Node 0 DMA: 30*4kB 7*8kB 2*16kB 1*32kB 0*64kB 1*128kB 0*256kB 0*512kB
0*1024kB 0*2048kB 0*4096kB = 368kB
Node 0 DMA32: 81*4kB 53*8kB 65*16kB 23*32kB 0*64kB 1*128kB 0*256kB
1*512kB 0*1024kB 0*2048kB 0*4096kB = 3164kB
Node 0 Normal: empty
Node 0 HighMem: empty
8602 pagecache pages
Swap cache: add 21037, delete 12988, find 320/473, race 0+1
Free swap  = 940120kB
Total swap = 1020116kB
Out of memory: Killed process 2024, UID 51, (sendmail).

Regards.



More information about the Kernelnewbies mailing list