Re: [PATCH] OOM killer API (was: [PATCH] VM fix for 2.4.0-test9 & OOM handler)

From: Rik van Riel (riel@conectiva.com.br)
Date: Fri Oct 13 2000 - 13:12:31 EST


On Thu, 12 Oct 2000, Matthew Hawkins wrote:
> On 2000-10-11 12:48:54 -0400, Andrew Pimlott wrote:
> > No way should a desktop user be responsible for micro-managing the
> > resource usage of his applications.
>
> That's right. The systems administrator should, and will set
> appropriate limits for users on his/her system that apply from login.

Except that this isn't sanely possible on Linux right now.
We only have per-process limits, so you should have enough
memory to support [size limit] X [# processes limit] for
the user.

Because of Netscape, the size limit would have to be 20MB or more
The number of processes would have to be something like 60 in order
to support gnome + kernel build + some other stuff.

That's a quota of 1.2 _GB_ per user, which is not at all reasonable.
Overcommit does make sense in this case and the risk of running out
of memory every once in a while are well worth the 1.1GB space
savings ;)

regards,

Rik

--
"What you're running that piece of shit Gnome?!?!"
       -- Miguel de Icaza, UKUUG 2000

http://www.conectiva.com/ http://www.surriel.com/

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



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:25 EST