当前位置: 技术问答>linux和unix
mini2440 上的一个应用程序发生的错误
来源: 互联网 发布时间:2016-12-02
本文导语: 小弟在mini2440上写了一个程序 collector,发生了如下错误,请高人给看看这是什么类型的错误,由什么引起的? 这是因为内存溢出还是内存不够用呢? 在线等,谢谢 kthreadd invoked oom-killer: gfp_mask=0xd0, order=1, oom_adj...
小弟在mini2440上写了一个程序 collector,发生了如下错误,请高人给看看这是什么类型的错误,由什么引起的?
这是因为内存溢出还是内存不够用呢?
在线等,谢谢
kthreadd invoked oom-killer: gfp_mask=0xd0, order=1, oom_adj=0
Backtrace:
[] (dump_backtrace+0x0/0x10c) from [] (dump_stack+0x18/0x1c)
r7:000000d0 r6:00000001 r5:00000408 r4:c3821b00
[] (dump_stack+0x0/0x1c) from [] (T.289+0x84/0x1ec)
[] (T.289+0x0/0x1ec) from [] (__out_of_memory+0x120/0x180)
[] (__out_of_memory+0x0/0x180) from [] (out_of_memory+0x64/0xb0)
[] (out_of_memory+0x0/0xb0) from [] (__alloc_pages_nodemask+0x57c/0x5a8)
r5:c047f3ac r4:00000000
[] (__alloc_pages_nodemask+0x0/0x5a8) from [] (__get_free_pages+0x18/0x44)
[] (__get_free_pages+0x0/0x44) from [] (copy_process+0xa8/0xc60)
[] (copy_process+0x0/0xc60) from [] (do_fork+0x68/0x318)
[] (do_fork+0x0/0x318) from [] (kernel_thread+0x70/0x80)
[] (kernel_thread+0x0/0x80) from [] (kthreadd+0xac/0xe0)
r7:00000000 r6:c3824000 r5:c385bf20 r4:c044cc30
[] (kthreadd+0x0/0xe0) from [] (do_exit+0x0/0x620)
Mem-info:
Normal per-cpu:
CPU 0: hi: 18, btch: 3 usd: 0
active_anon:1341 inactive_anon:1354 isolated_anon:0
active_file:3 inactive_file:3 isolated_file:0
unevictable:8 dirty:0 writeback:0 unstable:0
free:411 slab_reclaimable:251 slab_unreclaimable:10184
mapped:89 shmem:188 pagetables:84 bounce:0
Normal free:1644kB min:1016kB low:1268kB high:1524kB active_anon:5364kB inactive_anon:5416kB active_file:12kB inactive_file:12kB unevictable:32kB isolated(anon):0kB isolated(file):0kB present:65024kB mlocked:0kB dirty:0kB writeback:0kB mapped:356kB shmem:752kB slab_reclaimable:1004kB slab_unreclaimable:40736kB kernel_stack:304kB pagetables:336kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0
Normal: 407*4kB 0*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1644kB
202 total pagecache pages
16384 pages of RAM
494 free pages
1411 reserved pages
10293 slab pages
151 pages shared
0 pages swap cached
Out of memory: kill process 708 (sh) score 1032 or a child
Killed process 741 (collector)
Killed
这是因为内存溢出还是内存不够用呢?
在线等,谢谢
kthreadd invoked oom-killer: gfp_mask=0xd0, order=1, oom_adj=0
Backtrace:
[] (dump_backtrace+0x0/0x10c) from [] (dump_stack+0x18/0x1c)
r7:000000d0 r6:00000001 r5:00000408 r4:c3821b00
[] (dump_stack+0x0/0x1c) from [] (T.289+0x84/0x1ec)
[] (T.289+0x0/0x1ec) from [] (__out_of_memory+0x120/0x180)
[] (__out_of_memory+0x0/0x180) from [] (out_of_memory+0x64/0xb0)
[] (out_of_memory+0x0/0xb0) from [] (__alloc_pages_nodemask+0x57c/0x5a8)
r5:c047f3ac r4:00000000
[] (__alloc_pages_nodemask+0x0/0x5a8) from [] (__get_free_pages+0x18/0x44)
[] (__get_free_pages+0x0/0x44) from [] (copy_process+0xa8/0xc60)
[] (copy_process+0x0/0xc60) from [] (do_fork+0x68/0x318)
[] (do_fork+0x0/0x318) from [] (kernel_thread+0x70/0x80)
[] (kernel_thread+0x0/0x80) from [] (kthreadd+0xac/0xe0)
r7:00000000 r6:c3824000 r5:c385bf20 r4:c044cc30
[] (kthreadd+0x0/0xe0) from [] (do_exit+0x0/0x620)
Mem-info:
Normal per-cpu:
CPU 0: hi: 18, btch: 3 usd: 0
active_anon:1341 inactive_anon:1354 isolated_anon:0
active_file:3 inactive_file:3 isolated_file:0
unevictable:8 dirty:0 writeback:0 unstable:0
free:411 slab_reclaimable:251 slab_unreclaimable:10184
mapped:89 shmem:188 pagetables:84 bounce:0
Normal free:1644kB min:1016kB low:1268kB high:1524kB active_anon:5364kB inactive_anon:5416kB active_file:12kB inactive_file:12kB unevictable:32kB isolated(anon):0kB isolated(file):0kB present:65024kB mlocked:0kB dirty:0kB writeback:0kB mapped:356kB shmem:752kB slab_reclaimable:1004kB slab_unreclaimable:40736kB kernel_stack:304kB pagetables:336kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0
Normal: 407*4kB 0*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1644kB
202 total pagecache pages
16384 pages of RAM
494 free pages
1411 reserved pages
10293 slab pages
151 pages shared
0 pages swap cached
Out of memory: kill process 708 (sh) score 1032 or a child
Killed process 741 (collector)
Killed
|
何不google一下oom-killer这个关键字?
|
内核崩溃了吧