Re: 1gb RAM + 1gb SWAP + make -j bzImage = OOM

From: Nicholas Knight (
Date: Sat Jan 05 2002 - 12:57:17 EST

On Saturday 05 January 2002 07:19 am, Stephan von Krawczynski wrote:
> On Fri, 4 Jan 2002 16:42:43 -0800
> Nicholas Knight <> wrote:
> > I have absilutely no trouble reproducing on an 800MHz Athlon with
> > 256MB RAM/256MB swap on 2.4.17
> The simple question is: is the RAM sufficient at all to spawn such a
> lot of cc processes? In my setup I get around 1000 concurrently
> working during -j. This sounds like a real problem for 256/256, or
> not?

Matter of scale, did you try a full kernel build with make -j bzImage
using whatever your normal config is?
I still believe this is an innappropriate test, sure if you have tons
of RAM and swap it may eventualy complete (though if the swapfile is
very active and this is tried on a 2.4 kernel, the amount of CPU time
the compile will actually get will likely be unpredictable at best.)
This is an option that does nothing less than flood the system with
hundreds or thousands of processes that on any large compile will
simply not allow the system to survive intact without killing all the
processes. Does the OOM killer even work correctly yet? Or does it
still try to kill init at times? And for that matter, what order does
it kill in?

> Regards,
> Stephan

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:29 EST