system hang during low memory conditions with madvise()/mprotect() operations
Issue
Messages like this one seen in the system log:
MarkLogic: page allocation failure. order:2, mode:0x4020
Pid: 2572, comm: MarkLogic Tainted: P --------------- 2.6.32-279.23.1.el6.x86_64 #1
Call Trace:
<IRQ> [<ffffffff8112351f>] ? __alloc_pages_nodemask+0x77f/0x940
[<ffffffff8109b700>] ? ktime_get+0x40/0xe0
[<ffffffff8115780a>] ? alloc_pages_current+0xaa/0x110
[<ffffffffa02d5163>] ? mlx4_en_alloc_frag+0x1b3/0x1f0 [mlx4_en]
[<ffffffff8104bff7>] ? walk_tg_tree_from+0x67/0xc0
[<ffffffffa02d559e>] ? mlx4_en_complete_rx_desc+0x10e/0x1c0 [mlx4_en]
[<ffffffffa02d5c8b>] ? mlx4_en_process_rx_cq+0x63b/0x8f0 [mlx4_en]
[<ffffffffa0227272>] ? mlx4_cq_completion+0x42/0x90 [mlx4_core]
[<ffffffffa02d5f7f>] ? mlx4_en_poll_rx_cq+0x3f/0x80 [mlx4_en]
[<ffffffff8142dc23>] ? net_rx_action+0x103/0x2f0
[<ffffffff81072ac1>] ? __do_softirq+0xc1/0x1e0
[<ffffffff810d8e40>] ? handle_IRQ_event+0x60/0x170
[<ffffffff81072b1f>] ? __do_softirq+0x11f/0x1e0
[<ffffffff8100c1cc>] ? call_softirq+0x1c/0x30
[<ffffffff8100de05>] ? do_softirq+0x65/0xa0
[<ffffffff810728a5>] ? irq_exit+0x85/0x90
[<ffffffff814f22f5>] ? do_IRQ+0x75/0xf0
[<ffffffff8100b9d3>] ? ret_from_intr+0x0/0x11
<EOI> [<ffffffff810483fa>] ? flush_tlb_others_ipi+0x11a/0x130
[<ffffffff81048408>] ? flush_tlb_others_ipi+0x128/0x130
[<ffffffff81048486>] ? native_flush_tlb_others+0x76/0x90
[<ffffffff8104865c>] ? flush_tlb_mm+0x5c/0xa0
[<ffffffff81139b13>] ? zap_page_range+0xc3/0xf0
[<ffffffff811359cd>] ? sys_madvise+0x54d/0x770
[<ffffffff814ea090>] ? thread_return+0x4e/0x76e
[<ffffffff8100b072>] ? system_call_fastpath+0x16/0x1b
Environment
- Redhat Enterprise Linux 6.3
- kernel-2.6.32-279.23.1
- Numa based system
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.