Sujet : Re: Shutdown - 25 Years Later
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.miscDate : 29. Apr 2025, 04:02:10
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vupffh$pu5b$16@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
User-Agent : Pan/0.162 (Pokrosvk)
On Mon, 28 Apr 2025 07:45:51 -0700, John Ames wrote:
On Fri, 25 Apr 2025 23:15:25 -0000 (UTC)
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
Or you could, you know, simply configure your kernel to say “no,
sorry, there’s not enough RAM for that”.
The whole idea of *not* doing that - pretending that resources are
infinite and arbitrarily murdering on the sly to maintain the fiction -
is utterly baffling to me. I'm curious what the rationale is behind it.
I think one reason is that a lot of software is sloppily written to assume
that memory allocations will always succeed.
Another thing to think about is: what if all the system memory is
exhausted, and the superuser tries to login to fix the situation, but
can’t?
<
https://manpages.debian.org/proc_sys_vm(5)>