From: Andy Whitcroft <apw@shadowen.org>
To: Andrew Morton <akpm@osdl.org>
Cc: "Martin J. Bligh" <mbligh@mbligh.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: OOM killer firing on 2.6.18 and later during LTP runs
Date: Sun, 26 Nov 2006 11:38:27 +0000 [thread overview]
Message-ID: <45697CB3.7020903@shadowen.org> (raw)
In-Reply-To: <20061125132828.16a01762.akpm@osdl.org>
Andrew Morton wrote:
> On Sat, 25 Nov 2006 13:03:45 -0800
> "Martin J. Bligh" <mbligh@mbligh.org> wrote:
>
>> On 2.6.18-rc7 and later during LTP:
>> http://test.kernel.org/abat/48393/debug/console.log
>
> The traces are a bit confusing, but I don't actually see anything wrong
> there. The machine has used up all swap, has used up all memory and has
> correctly gone and killed things. After that, there's free memory again.
>
>> oom-killer: gfp_mask=0x201d2, order=0
>>
>> Call Trace:
>> [<ffffffff802638cb>] out_of_memory+0x33/0x220
>> [<ffffffff80265374>] __alloc_pages+0x23a/0x2c3
>> [<ffffffff802667d2>] __do_page_cache_readahead+0x99/0x212
>> [<ffffffff80260799>] sync_page+0x0/0x45
>> [<ffffffff804b304c>] io_schedule+0x28/0x33
>> [<ffffffff804b32b8>] __wait_on_bit_lock+0x5b/0x66
>> [<ffffffff8043d849>] dm_any_congested+0x3b/0x42
>> [<ffffffff80262e50>] filemap_nopage+0x14b/0x353
>> [<ffffffff8026cf9a>] __handle_mm_fault+0x387/0x93f
>> [<ffffffff804b6366>] do_page_fault+0x44b/0x7ba
>> [<ffffffff80245a4e>] autoremove_wake_function+0x0/0x2e
>> oom-killer: gfp_mask=0x280d2, order=0
>>
>> Call Trace:
>> [<ffffffff802638cb>] out_of_memory+0x33/0x220
>> [<ffffffff80265374>] __alloc_pages+0x23a/0x2c3
>> [<ffffffff8026cde3>] __handle_mm_fault+0x1d0/0x93f
>> [<ffffffff804b6366>] do_page_fault+0x44b/0x7ba
>> [<ffffffff804b2854>] thread_return+0x0/0xe0
>> [<ffffffff8020a405>] error_exit+0x0/0x84
>>
>> --------------------------------------------------
>>
>> This doesn't seem to happen every run, unfortnately, only
>> intermittently, and we don't have much data before that, so
>> hard to tell how long it's been going on.
>>
>> Still happening on latest kernels.
>> http://test.kernel.org/abat/62445/debug/console.log
>
> The same appears to have happened there too. Although it does seem to have
> killed a lot more than it should have.
>
> Has something changed in the configuration of that machine? New LTP
> version? Less swapsapce?
As far as I know neither LTP has changed nor the machine configuration
has changed. This is one of the very few machines we run which uses
LVM/dm etc perhaps that is a factor.
/dev/mapper/VolGroup00-LogVol01 partition 2031608 156 -1
We do know that the LTP tests add a bunch of swap and then rip them away
again. Its possible that something bad happens when that is occuring.
It would change the level of deparation rather dramatically for sure.
Perhaps it would make sense to try out the patch from RedHat. Sadly its
not really reproducible reliably ... so its hard to know how we tell if
its worked.
Sigh.
-apw
prev parent reply other threads:[~2006-11-26 11:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-25 21:03 OOM killer firing on 2.6.18 and later during LTP runs Martin J. Bligh
2006-11-25 21:28 ` Andrew Morton
2006-11-25 21:35 ` Martin J. Bligh
2006-11-25 22:08 ` Andrew Morton
2006-11-26 3:00 ` Dave Jones
2006-11-26 7:11 ` Andrew Morton
2006-11-26 7:25 ` Dave Jones
2006-11-26 7:30 ` Andrew Morton
2006-11-26 11:38 ` Andy Whitcroft [this message]
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=45697CB3.7020903@shadowen.org \
--to=apw@shadowen.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@mbligh.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