Re: Some questions about linux kernel.

From: Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Date: Sun Mar 12 2000 - 10:40:46 EST


"Peter Zaitsev" <pz@spylog.ru> said:

[...]

> Well why not to reserve memory for root usage only, as this is done with
> space on the root file system ?

That means no overcommitment of memory. It's a solution, but you'll need
_huge_ swapspaces just for making sure each time emacs spawns an ls the
space for the 4 500Kb files it has open is available.

> At least this will allow to login as root via SSH or console and kill
> trouble problem.

How does the VM notice that it needs to reserve space or dole it out, when
there are several root processes that need memory (named, the ftpd inetd is
spawning, ...)? They'll eat up your root allowance, and then the problem is
the same as before. Besides, this isn't a solution anyway, you don't want
to sit beside your server just in case it runs out of memory.

There is a flamewar each time the problem is discussed: The solution looks
extremely simple, there are many simple "solutions" too. But none of the
proposals gets more than half the work done; each one a different portion,
and by its very nature not in a position to do much (if anything) about the
rest.

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile                               +56 32 672616

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:21 EST