Re: Out of Memory: Killed process 16498 (java).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)
~



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux