OOM

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

log如下:

mem invoked oom-killer: gfp_mask=0x200da, order=0, oom_score_adj=0
mem cpuset=/ mems_allowed=0
CPU: 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 00000d11
5fc0: b6c00010 b6a982f0 b6a97ef0 00000418 b6c00040 b6a97ee8 00000118 00099000
5fe0: 00198000 bec5fc80 b6e208ac b6e200b0 80030010 ffffffff
Mem-info:
Normal per-cpu:
CPU    0: hi:  186, btch:  31 usd:  68
HighMem per-cpu:
CPU    0: hi:   90, btch:  15 usd:  14
active_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:0
Normal 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? yes
lowmem_reserve[]: 0 2112 2112
HighMem 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? yes
lowmem_reserve[]: 0 0 0
Normal: 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) = 11844kB
HighMem: 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 = 216kB
25 total pagecache pages
0 pages in swap cache
Swap cache stats: add 0, delete 0, find 0/0
Free swap  = 0kB
Total swap = 0kB
262144 pages of RAM
3141 free pages
3506 reserved pages
438 slab pages
262029 pages shared
0 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 mem
Out of memory: Kill process 541 (mem) score 952 or sacrifice child
Killed process 541 (mem) total-vm:1016424kB, anon-rss:1014252kB, file-rss:44kB
等有空再慢慢分析。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值