Re: [PATCH] oom killer (Core)

From: Marcelo Tosatti
Date: Thu Dec 02 2004 - 12:27:25 EST


On Thu, Dec 02, 2004 at 08:55:18AM -0800, Andrew Morton wrote:
> Andrea Arcangeli <andrea@xxxxxxx> wrote:
> >
> > I believe the thing you're hiding with the callback, is some screwup in
> > the VM. It shouldn't fire oom 300 times in a row.
>
> Well no ;)

I bet zone->all_unreclaimable is one of the main issues here as Andrea notes.

> Thomas, could you please put together a description of how to reproduce
> this behaviour?

A simple "fillmem" works for me - the OOM killer kills the hog and the bash
which its being ran from. Have you tried that?

If you fire up a few fillmem's at the same time I bet you'll see the problem in a
greater degree.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/