Re: Kernel 2.2.14 OOM killer strikes.

From: Marcelo Tosatti (marcelo@conectiva.com.br)
Date: Fri Jul 07 2000 - 10:57:16 EST


On Fri, 7 Jul 2000, Andreas Dilger wrote:

> It would be interesting to have some statistics on what real overcommit
> usage is like right now, since any fork/exec will temporarily use 2x the
> VM of the original process. For example, Netscape is a big program, and
> it forks a DNS handler at startup, so if you limit your users to a
> "reasonable" amount of VM, they might not be able to run Netscape, even
> though after the exec is completed Netscape+DNS handler do exceed the VM
> limit you imposed.

The further step after per-user resource limits is to have per-user RSS
dynamic limits.

With per-user RSS dynamic limits you avoid memory starvation in a more
flexible way, instead hard memory limits per user.

People already discussed dynamic RSS limits in the linux-mm list (Rik van
Riel has an idea of how to implement it).

Take a look at the archives.

-
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 : Fri Jul 07 2000 - 21:00:21 EST