Re: vm problems

Daniel Phillips (phillips@bonn-fries.net)
Thu, 30 Aug 2001 00:02:27 +0200


On August 29, 2001 01:47 pm, Gergely Madarasz wrote:
> On Wed, Aug 29, 2001 at 01:14:19PM +0200, Gergely Madarasz wrote:
> > Hello,
> >
> > I get hundreds of this error message:
> >
> > __alloc_pages: 0-order allocation failed.
> >
> > The machine is an IBM x250 with 4G ram, the kernel is vanilla 2.4.9 and
> > 2.4.9-ac3, no swap, running bonnie++. When the memory fills up with cache,
> > I start receiving the error message.
>
> actually I thought I was running 2.4.9-ac3, but no, and I see the message
> is commented out in 2.4.9-ac3. Does this mean that it doesn't mean
> anything serious? Some of my processes were stuck in uninterruptible
> sleep, I couldn't even shutdown correctly, so there are some problems.

Please try it again with this patch so we can see what kind of allocation is failing:

--- 2.4.9.clean/mm/page_alloc.c Thu Aug 16 12:43:02 2001
+++ 2.4.9/mm/page_alloc.c Mon Aug 20 22:05:40 2001
@@ -502,7 +502,8 @@
}

/* No luck.. */
- printk(KERN_ERR "__alloc_pages: %lu-order allocation failed.\n", order);
+ printk(KERN_ERR "__alloc_pages: %lu-order allocation failed (gfp=0x%x/%i).\n",
+ order, gfp_mask, !!(current->flags & PF_MEMALLOC));
return NULL;
}

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