From: edward_at_DigitalAngel.com.au
Date: Thu 15 May 2003 - 11:09:50 BST
That brings another question.
I take it that you limit the virtual memory/address space per vserver
Would it be possible instead of only one variable, to have a few different ones
to play with, like RSS limit, MEMLOCK limit as well as the RLIMIT_AS
which is what you have apparently impemented?
That way, in the situation described below, admin could set up RLIMIT_RSS for a
vserver marginally lower than RLIMIT_AS and set RLIMIT_MEMLOCK significantly
lower, if they wanted to.
Ed
On Wednesday, 14 May 2003 at 21:03, Jacques Gelinas wrote:
> On Wed, 14 May 2003 17:49:02 -0500, Sam Stickland wrote
> > How will this work as regards swap space?
> >
> > If I had a machine with 2GB of RAM, and I allocated 512MB each to 3
> > contexts, will a context start using swap space once it uses 512 MB of
> > physical RAM?
>
> No, it won't get any more memory. The request will fail.
>
> ---------------------------------------------------------
> Jacques Gelinas <jack_at_solucorp.qc.ca>
> vserver: run general purpose virtual servers on one box, full speed!
> http://www.solucorp.qc.ca/miscprj/s_context.hc
>