linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Larry Woodman <lwoodman@redhat.com>
To: Marco Nietz <m.nietz-mm@iplabs.de>
Cc: linux-mm@kvack.org
Subject: Re: oom-killer why ?
Date: Tue, 26 Aug 2008 06:45:59 -0400	[thread overview]
Message-ID: <1219747559.6705.8.camel@localhost.localdomain> (raw)
In-Reply-To: <48B2EB37.2000200@iplabs.de>

On Mon, 2008-08-25 at 19:26 +0200, Marco Nietz wrote:
> It's should be possible to reproduce the oom, but it's a Production Server.

>   [<c014290b>] out_of_memory+0x25/0x13a
>   [<c0143d74>] __alloc_pages+0x1f5/0x275
>   [<c014a439>] __pte_alloc+0x11/0x9e
>   [<c014a576>] __handle_mm_fault+0xb0/0xa1f

> pagetables:152485

> Normal free:3664kB min:3756kB low:4692kB high:5632kB active:280kB 
> inactive:244kB present:901120kB pages_scanned:593 all_unreclaimable? yes

If it is allocating lowmem for ptepages CONFIG_HIGHPTE is not set so it
exhausts the Normal zone with wired pte pages and eventually OOM kills.

-----------------------------------------------------------------------
pgtable_t pte_alloc_one(struct mm_struct *mm, unsigned long address)
{
        struct page *pte;

#ifdef CONFIG_HIGHPTE
        pte = alloc_pages(GFP_KERNEL|__GFP_HIGHMEM|__GFP_REPEAT|
__GFP_ZERO, 0);
#else
        pte = alloc_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, 0);
#endif
        if (pte)
                pgtable_page_ctor(pte);
        return pte;
}
-----------------------------------------------------------------------


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  parent reply	other threads:[~2008-08-26 10:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-25 11:25 Marco Nietz
2008-08-25 15:56 ` Christoph Lameter
2008-08-25 16:18   ` Marco Nietz
2008-08-25 16:29     ` Christoph Lameter
2008-08-25 17:26       ` Marco Nietz
2008-08-25 18:55         ` Christoph Lameter
2008-08-26  6:44           ` Marco Nietz
2008-08-26 13:23             ` Christoph Lameter
2008-08-26 10:45         ` Larry Woodman [this message]
2008-08-25 17:36   ` Larry Woodman
2008-08-26 11:11 ` Balbir Singh
2008-08-26 12:00   ` Marco Nietz
2008-08-26 13:15     ` Balbir Singh
2008-08-26 13:18       ` Balbir Singh
2008-08-26 19:09         ` Larry Woodman
2008-08-27  2:32           ` Balbir Singh
2008-08-27  6:21             ` Marco Nietz
2008-08-30 18:19               ` Rik van Riel

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=1219747559.6705.8.camel@localhost.localdomain \
    --to=lwoodman@redhat.com \
    --cc=linux-mm@kvack.org \
    --cc=m.nietz-mm@iplabs.de \
    /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