From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Ralf Hildebrandt <Ralf.Hildebrandt@charite.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Out of memory, but no OOM Killer? (2.6.9-ac11)
Date: Sat, 27 Nov 2004 12:10:07 +1100 [thread overview]
Message-ID: <41A7D3EF.3030002@yahoo.com.au> (raw)
In-Reply-To: <20041127003353.GQ30987@charite.de>
Ralf Hildebrandt wrote:
> * Nick Piggin <nickpiggin@yahoo.com.au>:
>
>
>>This could be the problem where fragmented memory causes atomic higher
>>order allocations to fail, for which there is a fix in -mm, which should
>>make its way into 2.6.11.
>
>
> I see. rsync requested a big chunk of memory, but failed due to the
> fragmentation of free memory? my "sar" output shows lots of free memory and
> lots of unused swap:
>
Basically, yes. Well not *exactly* rsync - your network drivers. I guess
rsync is showing up in process context most often because that is the
process causing most of the network activity.
Yep, it looks like fragmentation is indeed the problem here. See you have
a lot of memory that is able to be reclaimed, but the failing allocations
themselves can't reclaim any of it because they are happening from
interrupts. What they should be doing is telling `kswapd` to start freeing
memory for them - however this currently doesn't happen properly for
allocations which are order greater than 0.
Fortunately that is usually not a big problem, but as you have seen, it
can be. Anyway, expect 2.6.10 to be better (ie. good enough), and 2.6.11
should have even more complete fixes.
>
>>As a temporary workaround, you can increase /proc/sys/vm/min_free_kbytes
>
>
> # cat /proc/sys/vm/min_free_kbytes
> 724
>
> I increased that to 7240 now.
>
OK that should be fine. If you should upgrade to a 2.6.10 or later kernel,
put this value back to the default, and report further problems if they
occur.
>
>>BTW. what does `free` say when the allocation failures are happening?
>
>
> see sar output above.
>
Thanks Ralf.
next prev parent reply other threads:[~2004-11-27 1:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-26 22:47 Out of memory, but no OOM Killer? (2.6.9-ac11) Ralf Hildebrandt
2004-11-26 23:56 ` Nick Piggin
2004-11-27 0:33 ` Ralf Hildebrandt
2004-11-27 1:10 ` Nick Piggin [this message]
2004-11-27 8:03 ` Ralf Hildebrandt
2004-11-28 17:29 ` Alan Cox
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=41A7D3EF.3030002@yahoo.com.au \
--to=nickpiggin@yahoo.com.au \
--cc=Ralf.Hildebrandt@charite.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox