Messages in this thread | | | Subject | Re: Some questions about linux kernel. | Date | Sun, 12 Mar 2000 11:40:46 -0400 | From | Horst von Brand <> |
| |
"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/
| |