From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Robert Hancock <hancockr@shaw.ca>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: swapper: page allocation failure. order:1, mode:0x20
Date: Tue, 01 Mar 2005 12:26:02 +1100 [thread overview]
Message-ID: <4223C4AA.4040405@yahoo.com.au> (raw)
In-Reply-To: <4223C121.6090904@shaw.ca>
Robert Hancock wrote:
> Bernd Schubert wrote:
>
>> Oh no, not this page allocation problems again. In summer I already
>> posted problems with page allocation errors with 2.6.7, but to me it
>> seemed that nobody cared. That time we got those problems every
>> morning during the cron jobs and our main file server always
>> completely crashed.
>> This time its our cluster master system and first happend after an
>> uptime of 89 days, kernel is 2.6.9. Besides of those messages, the
>> system still seems to run stable
>>
>> I really beg for help here, so please please please help me solving
>> this probem. What can I do to solve it?
>>
You should upgrade to the newest kernel if possible. If that's not possible,
increase /proc/sys/vm/min_free_kbytes
This allocation failure really should not cause your system to crash, but
increasing min_free_kbytes will make it less likely that you will see an
allocation failure.
>> First a (dumb) question, what does 'page allocation failure' really
>> mean? Is it some out of memory case?
>> Feb 28 10:04:45 hitchcock kernel: swapper: page allocation failure.
>> order:1, mode:0x20
>> Feb 28 10:04:45 hitchcock kernel:
>> Feb 28 10:04:45 hitchcock kernel: Call Trace:<IRQ>
>> <ffffffff8015b0de>{__alloc_pages+878}
>> <ffffffff8015b10e>{__get_free_pages+14}
>> Feb 28 10:04:45 hitchcock kernel:
>> <ffffffff8015edc6>{kmem_getpages+38}
>> <ffffffff803d064a>{ip_frag_create+26}
>> Feb 28 10:04:45 hitchcock kernel:
>> <ffffffff8016061e>{cache_grow+190}
>> <ffffffff80160e80>{cache_alloc_refill+560}
>> Feb 28 10:04:45 hitchcock kernel:
>> <ffffffff801617e3>{__kmalloc+195} <ffffffff803b5680>{alloc_skb+64}
>> Feb 28 10:04:45 hitchcock kernel:
>> <ffffffff8031727e>{tg3_alloc_rx_skb+222} <ffffffff80317553>{tg3_rx+371}
>> Feb 28 10:04:45 hitchcock kernel:
>> <ffffffff80317977>{tg3_poll+183} <ffffffff803bc306>{net_rx_action+134}
>
>
> Essentially the tg3 Ethernet driver is trying to allocate memory to
> store a received packet, and is unable to do so. Since this is done
> inside interrupt context, this allocation has to be serviced from
> physical memory. Order 1 means it only wanted one page of memory, and
> since that failed it looks like the system must have been awfully
> short on available physical RAM.. it could be some kind of kernel
> memory leak or VM issue, though this condition may not be entirely
> unexpected in certain cases, like if the system has little physical
> RAM free at a certain point and then a flood of network packets arrive.
>
Yep. The reason why these failures are beeing seen is that earlier
kernels did
not reserve enough memory for GFP_ATOMIC allocations. Later kernels
increased
this, and also made higher order (ie. greater than 0) GFP_ATOMIC allocations
more robust.
next prev parent reply other threads:[~2005-03-01 1:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3CRTy-82M-27@gated-at.bofh.it>
2005-03-01 1:10 ` swapper: page allocation failure. order:1, mode:0x20 Robert Hancock
2005-03-01 1:22 ` Nigel Cunningham
2005-03-01 1:29 ` Robert Hancock
2005-03-01 1:26 ` Nick Piggin [this message]
2006-11-06 11:44 Ralf Hildebrandt
[not found] <fa.hgi75u0.1cnmhaa@ifi.uio.no>
2005-02-28 15:23 ` Benjamin L. Shi
2005-02-28 15:38 ` Bernd Schubert
-- strict thread matches above, loose matches on Subject: below --
2005-02-28 12:07 Bernd Schubert
2005-02-28 13:30 ` Marcel Smeets
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=4223C4AA.4040405@yahoo.com.au \
--to=nickpiggin@yahoo.com.au \
--cc=hancockr@shaw.ca \
--cc=linux-kernel@vger.kernel.org \
/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.