message频繁出现下图信息

mywine 2012-04-19 01:40:20
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: [<ffffffff8020d899>] show_trace_log_lvl+0x41/0x58
Apr 18 02:14:43 SMH kernel: [<ffffffff8020deff>] dump_stack+0x69/0x6f
Apr 18 02:14:43 SMH kernel: [<ffffffff80283175>] __alloc_pages_internal+0x3b5/0x3ce
Apr 18 02:14:43 SMH kernel: [<ffffffff802a39d4>] kmem_getpages+0x6e/0x131
Apr 18 02:14:43 SMH kernel: [<ffffffff802a4009>] fallback_alloc+0x16c/0x216
Apr 18 02:14:43 SMH kernel: [<ffffffff802a3bfc>] kmem_cache_alloc_node+0xc1/0xeb
Apr 18 02:14:43 SMH kernel: [<ffffffff80408d99>] __alloc_skb+0x62/0x1e2
Apr 18 02:14:43 SMH kernel: [<ffffffffa015467b>] _kc_netdev_alloc_skb_ip_align+0x1b/0x40 [e1000e]
Apr 18 02:14:43 SMH kernel: [<ffffffffa01453ae>] e1000_alloc_rx_buffers+0x1ee/0x230 [e1000e]
Apr 18 02:14:43 SMH kernel: [<ffffffffa0144772>] e1000_clean_rx_irq+0x2b2/0x340 [e1000e]
Apr 18 02:14:43 SMH kernel: [<ffffffffa01432ef>] e1000_poll+0x1af/0x5b0 [e1000e]
Apr 18 02:14:43 SMH kernel: [<ffffffff8040fdfa>] net_rx_action+0x9d/0x1c4
Apr 18 02:14:43 SMH kernel: [<ffffffff8023fc18>] __do_softirq+0x70/0xfc
Apr 18 02:14:43 SMH kernel: [<ffffffff8020d21c>] call_softirq+0x1c/0x28
Apr 18 02:14:43 SMH kernel: [<ffffffff8020e9d9>] do_softirq+0x2c/0x68
Apr 18 02:14:43 SMH kernel: [<ffffffff8023fb62>] irq_exit+0x3f/0x85
Apr 18 02:14:43 SMH kernel: [<ffffffff8020ec86>] do_IRQ+0xbd/0xdb
Apr 18 02:14:43 SMH kernel: [<ffffffff8020c471>] ret_from_intr+0x0/0xa
Apr 18 02:14:43 SMH kernel: [<ffffffffa0097b16>] acpi_idle_enter_bm+0x2ea/0x354 [processor]
Apr 18 02:14:43 SMH kernel: [<ffffffff803fc611>] cpuidle_idle_call+0x7f/0xbe
Apr 18 02:14:43 SMH kernel: [<ffffffff8020abaa>] cpu_idle+0x88/0xae
Apr 18 02:14:43 SMH kernel: [<ffffffff8090fcc8>] start_kernel+0x35f/0x36b
Apr 18 02:14:43 SMH kernel: [<ffffffff8090f393>] 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里反复出现,是哪里的问题?
...全文
308 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
deep_pro 2012-04-19
  • 打赏
  • 举报
回复
看说明只要这个现象不是经常大量地出现(像洪水一样不间断地出现),并没有什么害处,中断上下文进行的内存申请并不总是可靠或成功的,内核会处理的
这个现象看起来就是intel网卡驱动在中断底半部申请内存失败

如果你经常遇到这样的问题,可以尝试增加物理内存,调整swap,
以及一些网络配置参数,这个我不清楚,大概是往/sys /proc目录下的一些文件写一些配置进去,例如增加网络接口的接收队列大小等,预先给网卡多分配一下内存
例如/proc/sys/vm/min_free_kbytes /proc/sys/net/core/rmem_max /proc/sys/net/core/rmem_default 这些
我并不清楚这些调整的详细,不过你应该能搜索到相关信息
帅得不敢出门 2012-04-19
  • 打赏
  • 举报
回复
e1000_alloc_rx_buffers 处申请内存过程出问题

cnfixit 2012-04-19
  • 打赏
  • 举报
回复
swapper: page allocation failure

4,441

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧