当前位置: 技术问答>linux和unix
message频繁出现下图信息
来源: 互联网 发布时间:2017-02-17
本文导语: Apr 18 02:14:43 SMH kernel: The following is only an harmless informational message. Apr 18 02:14:43 SMH kernel: Unless you get a _continuous_flood_ of these messages it means Apr 18 02:14:43 SMH kernel: everything is working fine. Allocations from...
Apr 18 02:14:43 SMH kernel: The following is only an harmless informational message.
Apr 18 02:14:43 SMH kernel: Unless you get a _continuous_flood_ of these messages it means
Apr 18 02:14:43 SMH kernel: everything is working fine. Allocations from irqs cannot be
Apr 18 02:14:43 SMH kernel: perfectly reliable and the kernel is designed to handle that.
Apr 18 02:14:43 SMH kernel: swapper: page allocation failure. order:0, mode:0x20, alloc_flags:0x7, pflags:0x200100
Apr 18 02:14:43 SMH kernel: Pid: 0, comm: swapper Tainted: P 2.6.27.19-5-default #7
Apr 18 02:14:43 SMH kernel:
Apr 18 02:14:43 SMH kernel: Call Trace:
Apr 18 02:14:43 SMH kernel: [] show_trace_log_lvl+0x41/0x58
Apr 18 02:14:43 SMH kernel: [] dump_stack+0x69/0x6f
Apr 18 02:14:43 SMH kernel: [] __alloc_pages_internal+0x3b5/0x3ce
Apr 18 02:14:43 SMH kernel: [] kmem_getpages+0x6e/0x131
Apr 18 02:14:43 SMH kernel: [] fallback_alloc+0x16c/0x216
Apr 18 02:14:43 SMH kernel: [] kmem_cache_alloc_node+0xc1/0xeb
Apr 18 02:14:43 SMH kernel: [] __alloc_skb+0x62/0x1e2
Apr 18 02:14:43 SMH kernel: [] _kc_netdev_alloc_skb_ip_align+0x1b/0x40 [e1000e]
Apr 18 02:14:43 SMH kernel: [] e1000_alloc_rx_buffers+0x1ee/0x230 [e1000e]
Apr 18 02:14:43 SMH kernel: [] e1000_clean_rx_irq+0x2b2/0x340 [e1000e]
Apr 18 02:14:43 SMH kernel: [] e1000_poll+0x1af/0x5b0 [e1000e]
Apr 18 02:14:43 SMH kernel: [] net_rx_action+0x9d/0x1c4
Apr 18 02:14:43 SMH kernel: [] __do_softirq+0x70/0xfc
Apr 18 02:14:43 SMH kernel: [] call_softirq+0x1c/0x28
Apr 18 02:14:43 SMH kernel: [] do_softirq+0x2c/0x68
Apr 18 02:14:43 SMH kernel: [] irq_exit+0x3f/0x85
Apr 18 02:14:43 SMH kernel: [] do_IRQ+0xbd/0xdb
Apr 18 02:14:43 SMH kernel: [] ret_from_intr+0x0/0xa
Apr 18 02:14:43 SMH kernel: [] acpi_idle_enter_bm+0x2ea/0x354 [processor]
Apr 18 02:14:43 SMH kernel: [] cpuidle_idle_call+0x7f/0xbe
Apr 18 02:14:43 SMH kernel: [] cpu_idle+0x88/0xae
Apr 18 02:14:43 SMH kernel: [] start_kernel+0x35f/0x36b
Apr 18 02:14:43 SMH kernel: [] x86_64_start_kernel+0xe3/0xe7
Apr 18 02:14:43 SMH kernel:
Apr 18 02:14:43 SMH kernel: Mem-Info:
Apr 18 02:14:43 SMH kernel: Node 0 DMA per-cpu:
Apr 18 02:14:43 SMH kernel: CPU 0: hi: 0, btch: 1 usd: 0
Apr 18 02:14:43 SMH kernel: CPU 1: hi: 0, btch: 1 usd: 0
Apr 18 02:14:43 SMH kernel: CPU 2: hi: 0, btch: 1 usd: 0
Apr 18 02:14:43 SMH kernel: CPU 3: hi: 0, btch: 1 usd: 0
Apr 18 02:14:43 SMH kernel: Node 0 DMA32 per-cpu:
Apr 18 02:14:43 SMH kernel: CPU 0: hi: 186, btch: 31 usd: 184
Apr 18 02:14:43 SMH kernel: CPU 1: hi: 186, btch: 31 usd: 96
Apr 18 02:14:43 SMH kernel: CPU 2: hi: 186, btch: 31 usd: 80
Apr 18 02:14:43 SMH kernel: CPU 3: hi: 186, btch: 31 usd: 155
Apr 18 02:14:43 SMH kernel: Active:159575 inactive:215517 dirty:102967 writeback:30254 unstable:0
Apr 18 02:14:43 SMH kernel: free:2382 slab:33272 mapped:6130 pagetables:1605 bounce:0
Apr 18 02:14:43 SMH kernel: Node 0 DMA free:7456kB min:16kB low:20kB high:24kB active:0kB inactive:0kB present:6144kB pages_scanned:0 all_unreclaimable? no
Apr 18 02:14:43 SMH kernel: lowmem_reserve[]: 0 1991 1991 1991
Apr 18 02:14:43 SMH kernel: Node 0 DMA32 free:2072kB min:5700kB low:7124kB high:8548kB active:638300kB inactive:862068kB present:2039748kB pages_scanned:1648 all_unreclaimable? no
Apr 18 02:14:43 SMH kernel: lowmem_reserve[]: 0 0 0 0
Apr 18 02:14:43 SMH kernel: Node 0 DMA: 4*4kB 6*8kB 2*16kB 4*32kB 3*64kB 3*128kB 4*256kB 1*512kB 1*1024kB 0*2048kB 1*4096kB = 7456kB
Apr 18 02:14:43 SMH kernel: Node 0 DMA32: 1*4kB 1*8kB 0*16kB 0*32kB 1*64kB 3*128kB 0*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 1996kB
Apr 18 02:14:43 SMH kernel: 225228 total pagecache pages
Apr 18 02:14:43 SMH kernel: 2089 pages in swap cache
Apr 18 02:14:43 SMH kernel: Swap cache stats: add 21687636, delete 21685547, find 65788413/69824323
Apr 18 02:14:43 SMH kernel: Free swap = 862464kB
Apr 18 02:14:43 SMH kernel: Total swap = 1048568kB
Apr 18 02:14:43 SMH kernel: 522112 pages RAM
Apr 18 02:14:43 SMH kernel: 10676 pages reserved
Apr 18 02:14:43 SMH kernel: 231476 pages shared
Apr 18 02:14:43 SMH kernel: 284744 pages non-shared
上面的文字在message里反复出现,是哪里的问题?
Apr 18 02:14:43 SMH kernel: Unless you get a _continuous_flood_ of these messages it means
Apr 18 02:14:43 SMH kernel: everything is working fine. Allocations from irqs cannot be
Apr 18 02:14:43 SMH kernel: perfectly reliable and the kernel is designed to handle that.
Apr 18 02:14:43 SMH kernel: swapper: page allocation failure. order:0, mode:0x20, alloc_flags:0x7, pflags:0x200100
Apr 18 02:14:43 SMH kernel: Pid: 0, comm: swapper Tainted: P 2.6.27.19-5-default #7
Apr 18 02:14:43 SMH kernel:
Apr 18 02:14:43 SMH kernel: Call Trace:
Apr 18 02:14:43 SMH kernel: [] show_trace_log_lvl+0x41/0x58
Apr 18 02:14:43 SMH kernel: [] dump_stack+0x69/0x6f
Apr 18 02:14:43 SMH kernel: [] __alloc_pages_internal+0x3b5/0x3ce
Apr 18 02:14:43 SMH kernel: [] kmem_getpages+0x6e/0x131
Apr 18 02:14:43 SMH kernel: [] fallback_alloc+0x16c/0x216
Apr 18 02:14:43 SMH kernel: [] kmem_cache_alloc_node+0xc1/0xeb
Apr 18 02:14:43 SMH kernel: [] __alloc_skb+0x62/0x1e2
Apr 18 02:14:43 SMH kernel: [] _kc_netdev_alloc_skb_ip_align+0x1b/0x40 [e1000e]
Apr 18 02:14:43 SMH kernel: [] e1000_alloc_rx_buffers+0x1ee/0x230 [e1000e]
Apr 18 02:14:43 SMH kernel: [] e1000_clean_rx_irq+0x2b2/0x340 [e1000e]
Apr 18 02:14:43 SMH kernel: [] e1000_poll+0x1af/0x5b0 [e1000e]
Apr 18 02:14:43 SMH kernel: [] net_rx_action+0x9d/0x1c4
Apr 18 02:14:43 SMH kernel: [] __do_softirq+0x70/0xfc
Apr 18 02:14:43 SMH kernel: [] call_softirq+0x1c/0x28
Apr 18 02:14:43 SMH kernel: [] do_softirq+0x2c/0x68
Apr 18 02:14:43 SMH kernel: [] irq_exit+0x3f/0x85
Apr 18 02:14:43 SMH kernel: [] do_IRQ+0xbd/0xdb
Apr 18 02:14:43 SMH kernel: [] ret_from_intr+0x0/0xa
Apr 18 02:14:43 SMH kernel: [] acpi_idle_enter_bm+0x2ea/0x354 [processor]
Apr 18 02:14:43 SMH kernel: [] cpuidle_idle_call+0x7f/0xbe
Apr 18 02:14:43 SMH kernel: [] cpu_idle+0x88/0xae
Apr 18 02:14:43 SMH kernel: [] start_kernel+0x35f/0x36b
Apr 18 02:14:43 SMH kernel: [] x86_64_start_kernel+0xe3/0xe7
Apr 18 02:14:43 SMH kernel:
Apr 18 02:14:43 SMH kernel: Mem-Info:
Apr 18 02:14:43 SMH kernel: Node 0 DMA per-cpu:
Apr 18 02:14:43 SMH kernel: CPU 0: hi: 0, btch: 1 usd: 0
Apr 18 02:14:43 SMH kernel: CPU 1: hi: 0, btch: 1 usd: 0
Apr 18 02:14:43 SMH kernel: CPU 2: hi: 0, btch: 1 usd: 0
Apr 18 02:14:43 SMH kernel: CPU 3: hi: 0, btch: 1 usd: 0
Apr 18 02:14:43 SMH kernel: Node 0 DMA32 per-cpu:
Apr 18 02:14:43 SMH kernel: CPU 0: hi: 186, btch: 31 usd: 184
Apr 18 02:14:43 SMH kernel: CPU 1: hi: 186, btch: 31 usd: 96
Apr 18 02:14:43 SMH kernel: CPU 2: hi: 186, btch: 31 usd: 80
Apr 18 02:14:43 SMH kernel: CPU 3: hi: 186, btch: 31 usd: 155
Apr 18 02:14:43 SMH kernel: Active:159575 inactive:215517 dirty:102967 writeback:30254 unstable:0
Apr 18 02:14:43 SMH kernel: free:2382 slab:33272 mapped:6130 pagetables:1605 bounce:0
Apr 18 02:14:43 SMH kernel: Node 0 DMA free:7456kB min:16kB low:20kB high:24kB active:0kB inactive:0kB present:6144kB pages_scanned:0 all_unreclaimable? no
Apr 18 02:14:43 SMH kernel: lowmem_reserve[]: 0 1991 1991 1991
Apr 18 02:14:43 SMH kernel: Node 0 DMA32 free:2072kB min:5700kB low:7124kB high:8548kB active:638300kB inactive:862068kB present:2039748kB pages_scanned:1648 all_unreclaimable? no
Apr 18 02:14:43 SMH kernel: lowmem_reserve[]: 0 0 0 0
Apr 18 02:14:43 SMH kernel: Node 0 DMA: 4*4kB 6*8kB 2*16kB 4*32kB 3*64kB 3*128kB 4*256kB 1*512kB 1*1024kB 0*2048kB 1*4096kB = 7456kB
Apr 18 02:14:43 SMH kernel: Node 0 DMA32: 1*4kB 1*8kB 0*16kB 0*32kB 1*64kB 3*128kB 0*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 1996kB
Apr 18 02:14:43 SMH kernel: 225228 total pagecache pages
Apr 18 02:14:43 SMH kernel: 2089 pages in swap cache
Apr 18 02:14:43 SMH kernel: Swap cache stats: add 21687636, delete 21685547, find 65788413/69824323
Apr 18 02:14:43 SMH kernel: Free swap = 862464kB
Apr 18 02:14:43 SMH kernel: Total swap = 1048568kB
Apr 18 02:14:43 SMH kernel: 522112 pages RAM
Apr 18 02:14:43 SMH kernel: 10676 pages reserved
Apr 18 02:14:43 SMH kernel: 231476 pages shared
Apr 18 02:14:43 SMH kernel: 284744 pages non-shared
上面的文字在message里反复出现,是哪里的问题?
|
看说明只要这个现象不是经常大量地出现(像洪水一样不间断地出现),并没有什么害处,中断上下文进行的内存申请并不总是可靠或成功的,内核会处理的
这个现象看起来就是intel网卡驱动在中断底半部申请内存失败
如果你经常遇到这样的问题,可以尝试增加物理内存,调整swap,
以及一些网络配置参数,这个我不清楚,大概是往/sys /proc目录下的一些文件写一些配置进去,例如增加网络接口的接收队列大小等,预先给网卡多分配一下内存
例如/proc/sys/vm/min_free_kbytes /proc/sys/net/core/rmem_max /proc/sys/net/core/rmem_default 这些
我并不清楚这些调整的详细,不过你应该能搜索到相关信息
这个现象看起来就是intel网卡驱动在中断底半部申请内存失败
如果你经常遇到这样的问题,可以尝试增加物理内存,调整swap,
以及一些网络配置参数,这个我不清楚,大概是往/sys /proc目录下的一些文件写一些配置进去,例如增加网络接口的接收队列大小等,预先给网卡多分配一下内存
例如/proc/sys/vm/min_free_kbytes /proc/sys/net/core/rmem_max /proc/sys/net/core/rmem_default 这些
我并不清楚这些调整的详细,不过你应该能搜索到相关信息
|
e1000_alloc_rx_buffers 处申请内存过程出问题