Re: OOM killer???

Szabolcs Szakacsits (szaka@f-secure.com)
Wed, 28 Mar 2001 19:21:58 +0200 (MET DST)


On Tue, 27 Mar 2001, Andreas Dilger wrote:

> Every time this subject comes up, I point to AIX and SIGDANGER - a signal
> sent to processes when the system gets OOM.

And every time the SIGDANGER comes up, the issue that AIX provides
*both* early and late allocation mechanism even on per-process basis
that can be controlled by *both* the programmer and the admin is
completely ignored. Linux supports none of these and with the current
model it's quite possible the handler code is still sitting on the disk
and no memory will be available to page it in. Or do you want to see
more apps running as setuid-root and mlocking the handler wasting useful
memory and opening even more window for security exploits in the future?
And even using capabilities instead of setuid-root, only developers
could influence the behavior, not admins who must operate the box. No,
at present the SIGDANGER bloat would be just a fake excuse but wouldn't
address the root of problems at all.

Szaka

-
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/