Re: running of out memory => kernel crash

From: David Rientjes
Date: Fri Aug 19 2011 - 15:21:30 EST


On Fri, 19 Aug 2011, Denys Vlasenko wrote:

> Exactly. Server has no means to know when the situation is
> bad enough to start killing. IIRC now the rule is simple:
> OOM killing starts only when allocations fail.
>
> Perhaps it is possible to add "start OOM killing if less than N free
> pages are available", but this will be complex, and won't be good enough
> for some configs with many zones (thus, will require even more complications).
>

Allocations start to fail, and oom killings then start to occur, only when
the set of allowed zones fall below their minimum watermarks which usually
includes several hundred kilobytes or several megabytes of free memory for
lowmem situations.
--
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/