public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Larry Woodman <lwoodman@redhat.com>
To: Andy Chittenden <AChittenden@bluearc.com>
Cc: Jens Axboe <axboe@suse.de>, Andrew Morton <akpm@osdl.org>,
	Dave Jones <davej@redhat.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Out of Memory: Killed process 16498 (java).
Date: Fri, 20 Jan 2006 07:37:44 -0500	[thread overview]
Message-ID: <43D0D998.4090605@redhat.com> (raw)
In-Reply-To: <89E85E0168AD994693B574C80EDB9C27035560E4@uk-email.terastack.bluearc.com>

Andy Chittenden wrote:

>>Andy, what are
>>you running that uses SG_IO - cd ripping, burning, something else?
>>    
>>
>
>I'm sorry but I haven't a clue what uses SG_IO! All I did was boot up a
>debian unstable machine on my amd64 machine that uses 2.6.15. I log in
>via gdm and get a gnome session so I guess that's using nautilus (I've
>seen that killed in the past). I use the sawfish window manager and
>start up 7 rxvt windows and that java app I mentioned (terminator) (I
>suspect that's a red herring as other processes have been killed).
>
>  
>
for starters you should probably change build_zonelists so that the DMA 
zone is
not included in any of the zone lists except the DMA.  This will prevent 
__alloc_pages()
from exhausting the hignmem/normal zones then falling into the DMA zone 
and exhausting
that with non-reclamable memory like the slabcache.

--- linux-2.6.9/mm/page_alloc.c.orig
+++ linux-2.6.9/mm/page_alloc.c
@@ -1170,6 +1170,9 @@ static int __init build_zonelists_node(p
                zone = pgdat->node_zones + ZONE_NORMAL;
                if (zone->present_pages)
                        zonelist->zones[j++] = zone;
+#if defined(CONFIG_HIGHMEM64G) || defined(CONFIG_X86_64)
+               break;
+#endif
        case ZONE_DMA:
                zone = pgdat->node_zones + ZONE_DMA;
                if (zone->present_pages)
~




       reply	other threads:[~2006-01-20 12:40 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <89E85E0168AD994693B574C80EDB9C27035560E4@uk-email.terastack.bluearc.com>
2006-01-20 12:37 ` Larry Woodman [this message]
2006-01-27 11:53 Out of Memory: Killed process 16498 (java) Andy Chittenden
2006-01-27 14:21 ` Jens Axboe
2006-01-27 14:39   ` Anton Altaparmakov
  -- strict thread matches above, loose matches on Subject: below --
2006-01-23 10:03 Andy Chittenden
2006-01-23 10:11 ` Jens Axboe
2006-01-21 21:47 Andy Chittenden
2006-01-23  9:27 ` Jens Axboe
     [not found] <89E85E0168AD994693B574C80EDB9C27035561DE@uk-email.terastack.bluearc.com>
2006-01-20 17:39 ` Jens Axboe
2006-01-19 15:11 Andy Chittenden
2006-01-19 19:48 ` Dave Jones
2006-01-19 22:15   ` Andrew Morton
2006-01-20  8:12     ` Jens Axboe
2006-01-20  8:23       ` Andrew Morton
2006-01-20 12:08         ` Jens Axboe
2006-01-20 12:17           ` Andrew Morton
2006-01-20 12:28             ` Jens Axboe
2006-01-20 12:51               ` Andrew Morton
2006-01-20  1:03   ` Andrew Morton
2006-01-20  1:28     ` Dave Jones
2006-01-20  1:49       ` Andrew Morton
2006-01-21 20:00         ` Dan Aloni
     [not found] <89E85E0168AD994693B574C80EDB9C2703555F8E@uk-email.terastack.bluearc.com>
2006-01-19  9:44 ` Andrew Morton
2006-01-19  9:40 Andy Chittenden
2006-01-19  9:41 ` Con Kolivas
2006-01-19  8:43 Andy Chittenden
2006-01-19  8:56 ` Andrew Morton
2006-01-19  9:36   ` Con Kolivas
2006-01-19 20:54 ` Martin Bligh

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=43D0D998.4090605@redhat.com \
    --to=lwoodman@redhat.com \
    --cc=AChittenden@bluearc.com \
    --cc=akpm@osdl.org \
    --cc=axboe@suse.de \
    --cc=davej@redhat.com \
    --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