From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Fri 05 Sep 2003 - 23:04:05 BST
On Fri, Sep 05, 2003 at 07:58:04AM -0400, Rik van Riel wrote:
> On Fri, 5 Sep 2003, Herbert Poetzl wrote:
> > here is a preliminary patch to allow Per Context
> > Virtual Memory Limits for ctx17a ...
> Looks exactly like the non-overcommit AS accounting in the
> -ac kernel, so I guess it's correct. The only thing I can't
> verify this early in the morning is whether all the required
> changes have been changed ... though it certainly looks right
> to me.
thanks for taking the time, and checking the
patch, I really appreciate it ...
> > I'm not sure if virtual memory limits really are
> > a GoodThing(tm) but without trying it, nobody will
> > know ...
> It means you can configure your system to not run out of
> memory+swap ever, in essence making it impossible for any
> vserver to DoS the others.
> Definately a good thing.
> Now we just want per-vserver RSS limits too ;)
> (but those are in CKRM and we can probably wait until 2.6)
a simple version of rss limits should not be too
hard (hear that murphy?), but it will have to wait
till next week ...
> "Debugging is twice as hard as writing the code in the first place.
> Therefore, if you write the code as cleverly as possible, you are,
> by definition, not smart enough to debug it." - Brian W. Kernighan