当前位置: 技术问答>linux和unix
suse10系统,关键进程被oom killer杀掉,帮忙分析一下原因
来源: 互联网 发布时间:2017-04-03
本文导语: 系统运行过程中关键进程(ibm mq)被oom killer杀掉,导致mq无法正常工作,请帮忙分析一下是什么程序导致的。附系统/var/log/messages中出错时日志如下: Feb 10 14:30:03 linux-gj2r syslog-ng[3766]: new configuration initialized Feb...
系统运行过程中关键进程(ibm mq)被oom killer杀掉,导致mq无法正常工作,请帮忙分析一下是什么程序导致的。附系统/var/log/messages中出错时日志如下:
Feb 10 14:30:03 linux-gj2r syslog-ng[3766]: new configuration initialized
Feb 10 14:32:40 linux-gj2r syslog-ng[3766]: Changing permissions on special file /dev/xconsole
Feb 10 14:32:40 linux-gj2r syslog-ng[3766]: Changing permissions on special file /dev/tty10
Feb 17 14:40:33 linux-gj2r kernel: oom-killer: gfp_mask=0xd0, order=0
Feb 17 14:40:33 linux-gj2r kernel: oom-killer: gfp_mask=0xd0, order=0
Feb 17 14:40:33 linux-gj2r kernel: oom-killer: gfp_mask=0xd0, order=0
Feb 17 14:40:33 linux-gj2r kernel: oom-killer: gfp_mask=0xd0, order=0
Feb 17 14:40:33 linux-gj2r kernel: oom-killer: gfp_mask=0xd0, order=0
Feb 17 14:40:33 linux-gj2r kernel: [] [] oom-killer: gfp_mask=0xd0, order=0
Feb 17 14:40:33 linux-gj2r kernel: [] [] out_of_memory+0x48/0x16aout_of_memory+0x48/0x16a
Feb 17 14:40:33 linux-gj2r kernel:
Feb 17 14:40:33 linux-gj2r kernel: [] [] __alloc_pages+0x1f3/0x2a5
Feb 17 14:40:33 linux-gj2r kernel: __alloc_pages+0x1f3/0x2a5
Feb 17 14:40:33 linux-gj2r kernel: [] [] __get_free_pages+0x25/0x31
Feb 17 14:40:33 linux-gj2r kernel: cache_alloc_refill+0x282/0x45e
Feb 17 14:40:33 linux-gj2r kernel: [] [] kmem_cache_alloc+0x41/0x4b__pollwait+0x2d/0x95
Feb 17 14:40:33 linux-gj2r kernel:
Feb 17 14:40:33 linux-gj2r kernel: [] out_of_memory+0x48/0x16aoom-killer: gfp_mask=0xd0, order=0
Feb 17 14:40:33 linux-gj2r kernel: out_of_memory+0x48/0x16adup_fd+0x1e/0x2ea
Feb 17 14:40:33 linux-gj2r kernel: [] tcp_poll+0x19/0x114
Feb 17 14:40:33 linux-gj2r kernel: [] [] do_gettimeofday+0x1a/0x9e
Feb 17 14:40:33 linux-gj2r kernel: sock_poll+0xc/0xe
Feb 17 14:40:33 linux-gj2r kernel: [] copy_files+0x44/0x5b
Feb 17 14:40:33 linux-gj2r kernel: [] do_select+0x21c/0x3b8
Feb 17 14:40:33 linux-gj2r kernel: [] copy_process+0x487/0x1220
Feb 17 14:40:33 linux-gj2r kernel: [] __pollwait+0x0/0x95
Feb 17 14:40:33 linux-gj2r kernel: [] inotify_d_instantiate+0x36/0x50
Feb 17 14:40:33 linux-gj2r kernel: [] core_sys_select+0x24e/0x26c
Feb 17 14:40:33 linux-gj2r kernel: [] [] do_fork+0x83/0x175
Feb 17 14:40:33 linux-gj2r kernel: sys_select+0x9f/0x181
Feb 17 14:40:33 linux-gj2r kernel: [] [] do_syscall_trace+0x123/0x169
Feb 17 14:40:33 linux-gj2r kernel: do_syscall_trace+0x123/0x169
Feb 17 14:40:33 linux-gj2r kernel: [] [] sys_clone+0x28/0x2d
Feb 17 14:40:33 linux-gj2r kernel: syscall_call+0x7/0xb
Feb 17 14:40:33 linux-gj2r kernel: Mem-info:
Feb 17 14:40:33 linux-gj2r kernel: [] DMA per-cpu:syscall_call+0x7/0xb
Feb 17 14:40:33 linux-gj2r kernel:
Feb 17 14:40:33 linux-gj2r kernel: Mem-info:
Feb 10 14:30:03 linux-gj2r syslog-ng[3766]: new configuration initialized
Feb 10 14:32:40 linux-gj2r syslog-ng[3766]: Changing permissions on special file /dev/xconsole
Feb 10 14:32:40 linux-gj2r syslog-ng[3766]: Changing permissions on special file /dev/tty10
Feb 17 14:40:33 linux-gj2r kernel: oom-killer: gfp_mask=0xd0, order=0
Feb 17 14:40:33 linux-gj2r kernel: oom-killer: gfp_mask=0xd0, order=0
Feb 17 14:40:33 linux-gj2r kernel: oom-killer: gfp_mask=0xd0, order=0
Feb 17 14:40:33 linux-gj2r kernel: oom-killer: gfp_mask=0xd0, order=0
Feb 17 14:40:33 linux-gj2r kernel: oom-killer: gfp_mask=0xd0, order=0
Feb 17 14:40:33 linux-gj2r kernel: [] [] oom-killer: gfp_mask=0xd0, order=0
Feb 17 14:40:33 linux-gj2r kernel: [] [] out_of_memory+0x48/0x16aout_of_memory+0x48/0x16a
Feb 17 14:40:33 linux-gj2r kernel:
Feb 17 14:40:33 linux-gj2r kernel: [] [] __alloc_pages+0x1f3/0x2a5
Feb 17 14:40:33 linux-gj2r kernel: __alloc_pages+0x1f3/0x2a5
Feb 17 14:40:33 linux-gj2r kernel: [] [] __get_free_pages+0x25/0x31
Feb 17 14:40:33 linux-gj2r kernel: cache_alloc_refill+0x282/0x45e
Feb 17 14:40:33 linux-gj2r kernel: [] [] kmem_cache_alloc+0x41/0x4b__pollwait+0x2d/0x95
Feb 17 14:40:33 linux-gj2r kernel:
Feb 17 14:40:33 linux-gj2r kernel: [] out_of_memory+0x48/0x16aoom-killer: gfp_mask=0xd0, order=0
Feb 17 14:40:33 linux-gj2r kernel: out_of_memory+0x48/0x16adup_fd+0x1e/0x2ea
Feb 17 14:40:33 linux-gj2r kernel: [] tcp_poll+0x19/0x114
Feb 17 14:40:33 linux-gj2r kernel: [] [] do_gettimeofday+0x1a/0x9e
Feb 17 14:40:33 linux-gj2r kernel: sock_poll+0xc/0xe
Feb 17 14:40:33 linux-gj2r kernel: [] copy_files+0x44/0x5b
Feb 17 14:40:33 linux-gj2r kernel: [] do_select+0x21c/0x3b8
Feb 17 14:40:33 linux-gj2r kernel: [] copy_process+0x487/0x1220
Feb 17 14:40:33 linux-gj2r kernel: [] __pollwait+0x0/0x95
Feb 17 14:40:33 linux-gj2r kernel: [] inotify_d_instantiate+0x36/0x50
Feb 17 14:40:33 linux-gj2r kernel: [] core_sys_select+0x24e/0x26c
Feb 17 14:40:33 linux-gj2r kernel: [] [] do_fork+0x83/0x175
Feb 17 14:40:33 linux-gj2r kernel: sys_select+0x9f/0x181
Feb 17 14:40:33 linux-gj2r kernel: [] [] do_syscall_trace+0x123/0x169
Feb 17 14:40:33 linux-gj2r kernel: do_syscall_trace+0x123/0x169
Feb 17 14:40:33 linux-gj2r kernel: [] [] sys_clone+0x28/0x2d
Feb 17 14:40:33 linux-gj2r kernel: syscall_call+0x7/0xb
Feb 17 14:40:33 linux-gj2r kernel: Mem-info:
Feb 17 14:40:33 linux-gj2r kernel: [] DMA per-cpu:syscall_call+0x7/0xb
Feb 17 14:40:33 linux-gj2r kernel:
Feb 17 14:40:33 linux-gj2r kernel: Mem-info:
|
看下dmesg
|
内存不够了?系统貌似会随意选择一个程序作为牺牲者