From: Philipp Herz - Profihost AG <p.herz@profihost.ag>
To: David Rientjes <rientjes@google.com>
Cc: Andi Kleen <andi@firstfloor.org>, linux-kernel@vger.kernel.org
Subject: Re: Vanilla-Kernel 3 - page allocation failure
Date: Mon, 24 Oct 2011 08:33:29 +0200 [thread overview]
Message-ID: <4EA506B9.4030604@profihost.ag> (raw)
In-Reply-To: <alpine.DEB.2.00.1110181848150.12850@chino.kir.corp.google.com>
Am 19.10.2011 03:58, schrieb David Rientjes:
> On Tue, 18 Oct 2011, Andi Kleen wrote:
>
>> Philipp Herz - Profihost AG<p.herz@profihost.ag> writes:
>>
>>> After updating kernel (x86_64) to stable version 3 there are a few
>>> messages appearing in the kernel log such as
>>>
>>> kworker/0:1: page allocation failure: order:1, mode:0x20
>>> mysql: page allocation failure: order:1, mode:0x20
>>> php5: page allocation failure: order:1, mode:0x20
>>
>> You just ran out of memory.
>>
>
> He ran out of order-1 physically contiguous memory and was unable to
> compact or reclaim because of the atomic context.
>
> Philipp, based on your pastes from another post, it's evident you're using
> CONFIG_SLAB and, unfortunately, it's not possible to change to single
> page allocations (which would only result in a page allocation failure if
> you were completely out of memory) without recompiling.
>
> You have a couple options:
>
> - recompile with BREAK_GFP_ORDER_HI redefined to 0 in mm/slab.c, or
>
> - recompile with CONFIG_SLUB instead of CONFIG_SLAB.
>
> It's very possible that neither of these will help, but it will tell you
> whether you need to go out and buy more RAM or not. If you try to
> recompile with BREAK_GFP_ORDER_HI, these may turn into order-0
> allocations. If you can't reboot, send the output of
> /proc/<pid>/net/protocols where<pid> is the pid of one of the above tasks
> (kworker, mysql, php5) when they are running and we'll know.
>
> [ Changing slab_break_gfp_order should really be a CONFIG_SLAB command-
> line option. It can't be runtime because slab depends on the order for
> caches remaining constant, but we can certainly change it on boot. ]
>
> If you try CONFIG_SLUB instead of CONFIG_SLAB, you can pass
> slub_max_order=0 on the command line and see if it helps.
Hi David,
we have recompiled the kernel of one machine with CONFIG_SLUB instead of
CONFIG_SLAB, but it is showing similar message.
Now it's showing failure at "order:5, mode:0x4020".
Call trace can be found at:
* http://pastebin.com/uGJiwvG1
Comparing kernel 2.6.32 (mm/page_alloc.c) there seams to be the same way
of dealing with page allocation.
Do you have an idea why these (warning) messages do never appear running
2.6.32?
Regards,
Philipp
next prev parent reply other threads:[~2011-10-24 6:33 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-18 10:25 Vanilla-Kernel 3 - page allocation failure Philipp Herz - Profihost AG
2011-10-18 11:32 ` Thadeu Lima de Souza Cascardo
2011-10-18 12:07 ` Philipp Herz - Profihost AG
2011-10-18 12:38 ` Thadeu Lima de Souza Cascardo
2011-10-18 13:24 ` Philipp Herz - Profihost AG
2011-10-18 14:35 ` Thadeu Lima de Souza Cascardo
2011-10-19 6:45 ` Philipp Herz - Profihost AG
2011-10-18 15:51 ` Andi Kleen
2011-10-18 17:02 ` Dave Jones
2011-10-18 18:59 ` Andi Kleen
2011-10-19 1:58 ` David Rientjes
2011-10-24 6:33 ` Philipp Herz - Profihost AG [this message]
2011-10-24 7:03 ` Eric Dumazet
2011-10-24 7:21 ` Philipp Herz - Profihost AG
2011-10-24 8:01 ` Eric Dumazet
2011-10-24 8:19 ` Philipp Herz - Profihost AG
2011-10-24 8:29 ` Eric Dumazet
2011-10-24 8:36 ` Stefan Priebe - Profihost AG
2011-10-26 20:26 ` David Rientjes
2011-10-27 7:13 ` Philipp Herz - Profihost AG
2011-10-27 20:08 ` David Rientjes
2011-10-20 21:11 ` Valdis.Kletnieks
2011-10-21 6:36 ` Philipp Herz - Profihost AG
-- strict thread matches above, loose matches on Subject: below --
2011-10-18 10:24 Philipp Herz - Profihost AG
2011-10-19 2:09 ` David Rientjes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EA506B9.4030604@profihost.ag \
--to=p.herz@profihost.ag \
--cc=andi@firstfloor.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rientjes@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.