Translated message

A translation of this page exists in English.

GFP_ATOMIC 分配失败(网络数据包被丢弃)并导致出现内核警告和回溯追踪信息

Solution In Progress - Updated -

Issue

  • 网络堆栈出现 GFP_ATOMIC 分配失败并导致数据包被丢弃,在控制台中可以看到以下信息:
page allocation failure. order:2, mode:0x4020
  • 在这些错误之后会跟随一个回溯追踪信息,它显示了类似以下的特征,尽管受影响的模块通常有所不同:
kernel: ksoftirqd/0: page allocation failure. order:1, mode:0x20
kernel: Pid: 4, comm: ksoftirqd/0 Tainted: P           ---------------    2.6.32-358.el6.x86_64 #1
kernel: Call Trace:
kernel: <IRQ>  [<ffffffff8112c127>] ? __alloc_pages_nodemask+0x757/0x8d0
kernel: [<ffffffff811669d2>] ? kmem_getpages+0x62/0x170
kernel: [<ffffffff811675ea>] ? fallback_alloc+0x1ba/0x270
kernel: [<ffffffff8116703f>] ? cache_grow+0x2cf/0x320
kernel: [<ffffffff81167369>] ? ____cache_alloc_node+0x99/0x160
kernel: [<ffffffff81168530>] ? kmem_cache_alloc_node_trace+0x90/0x200
kernel: [<ffffffff8116874d>] ? __kmalloc_node+0x4d/0x60
kernel: [<ffffffff8143d6ad>] ? __alloc_skb+0x6d/0x190
kernel: [<ffffffff8143d7ed>] ? dev_alloc_skb+0x1d/0x40
kernel: [<ffffffffa0d01174>] ? ipoib_alloc_rx_skb+0x44/0x200 [ib_ipoib]
kernel: [<ffffffffa0d013cf>] ? ipoib_ib_handle_rx_wc+0x9f/0x590 [ib_ipoib]
kernel: [<ffffffffa0d01977>] ? ipoib_poll+0xb7/0x160 [ib_ipoib]
kernel: [<ffffffff8144cd43>] ? net_rx_action+0x103/0x2f0
kernel: [<ffffffff81076fb1>] ? __do_softirq+0xc1/0x1e0
kernel: [<ffffffff8100c1cc>] ? call_softirq+0x1c/0x30
kernel: <EOI>  [<ffffffff8100de05>] ? do_softirq+0x65/0xa0

Environment

  • Red Hat Enterprise Linux
  • 快速网络接口,如 1 Gigabit, 10 Gigabit, 40 Gigabit

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content