OOM

来源:互联网 发布:百度数据研究中心 编辑:程序博客网 时间:2024/06/02 11:06

今天遇到了一个OOM的问题。

log如下:

mem invoked oom-killer: gfp_mask=0x200da, order=0, oom_score_adj=0mem cpuset=/ mems_allowed=0CPU: 0 PID: 541 Comm: mem Not tainted 3.10.28 #2[<c001477c>] (unwind_backtrace+0x0/0xf4) from [<c00119d8>] (show_stack+0x10/0x14)[<c00119d8>] (show_stack+0x10/0x14) from [<c0364de4>] (dump_header.isra.9+0x84/0x19c)[<c0364de4>] (dump_header.isra.9+0x84/0x19c) from [<c008717c>] (oom_kill_process+0x278/0x3e8)[<c008717c>] (oom_kill_process+0x278/0x3e8) from [<c00877a0>] (out_of_memory+0x29c/0x2c0)[<c00877a0>] (out_of_memory+0x29c/0x2c0) from [<c008b5ec>] (__alloc_pages_nodemask+0x8cc/0x8e0)[<c008b5ec>] (__alloc_pages_nodemask+0x8cc/0x8e0) from [<c00a3950>] (handle_pte_fault+0x584/0x778)[<c00a3950>] (handle_pte_fault+0x584/0x778) from [<c00a3c00>] (handle_mm_fault+0xbc/0x104)[<c00a3c00>] (handle_mm_fault+0xbc/0x104) from [<c0019140>] (do_page_fault+0x228/0x3b0)[<c0019140>] (do_page_fault+0x228/0x3b0) from [<c0008468>] (do_DataAbort+0x38/0x9c)[<c0008468>] (do_DataAbort+0x38/0x9c) from [<c000dcb4>] (__dabt_usr+0x34/0x40)Exception stack(0xef065fb0 to 0xef065ff8)5fa0:                                     00001119 00000409 0000040d 00000d115fc0: b6c00010 b6a982f0 b6a97ef0 00000418 b6c00040 b6a97ee8 00000118 000990005fe0: 00198000 bec5fc80 b6e208ac b6e200b0 80030010 ffffffffMem-info:Normal per-cpu:CPU    0: hi:  186, btch:  31 usd:  68HighMem per-cpu:CPU    0: hi:   90, btch:  15 usd:  14active_anon:253678 inactive_anon:0 isolated_anon:0 active_file:0 inactive_file:0 isolated_file:0 unevictable:1 dirty:0 writeback:0 unstable:0 free:3015 slab_reclaimable:186 slab_unreclaimable:375 mapped:9 shmem:0 pagetables:508 bounce:0 free_cma:0Normal free:11844kB min:3496kB low:4368kB high:5244kB active_anon:745028kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:778240kB managed:764024kB mlocked:0kB dirty:0kB writeback:0kB mapped:24kB shmem:0kB slab_reclaimable:744kB slab_unreclaimable:1500kB kernel_stack:232kB pagetables:2032kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:1211 all_unreclaimable? yeslowmem_reserve[]: 0 2112 2112HighMem free:216kB min:264kB low:572kB high:880kB active_anon:269684kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:4kB isolated(anon):0kB isolated(file):0kB present:270336kB managed:270336kB mlocked:0kB dirty:0kB writeback:0kB mapped:12kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:10648kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yeslowmem_reserve[]: 0 0 0Normal: 13*4kB (UE) 2*8kB (EM) 2*16kB (UM) 1*32kB (E) 1*64kB (E) 1*128kB (E) 1*256kB (U) 2*512kB (UM) 2*1024kB (UE) 2*2048kB (EM) 1*4096kB (R) = 11844kBHighMem: 0*4kB 1*8kB (R) 1*16kB (R) 0*32kB 1*64kB (R) 1*128kB (R) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 216kB25 total pagecache pages0 pages in swap cacheSwap cache stats: add 0, delete 0, find 0/0Free swap  = 0kBTotal swap = 0kB262144 pages of RAM3141 free pages3506 reserved pages438 slab pages262029 pages shared0 pages swap cached[ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name[  506]     0   506      748       24       4        0             0 sh[  507]     0   507      748       26       3        0             0 sh[  541]     0   541   254106   253574     499        0             0 memOut of memory: Kill process 541 (mem) score 952 or sacrifice childKilled process 541 (mem) total-vm:1016424kB, anon-rss:1014252kB, file-rss:44kB
等有空再慢慢分析。

0 0
原创粉丝点击