Subject: Re: [vserver] "free" command inside vserver
From: Christian Affolter <c.affolter@stepping-stone.ch>
Date: Fri, 25 Jan 2008 19:15:12 +0100

Hi

>> Does anyone know why the free command inside the vserver does not report
>> the
>> actual size of the vserver? It reports the size of the machine's physical
>> ram, not the limits of the vserver.
> 
> Set the VIRT_MEM flag, http://linux-vserver.org/Capabilities_and_Flags
> which will show rss.hard - rss.soft as RAM, and the remainder as swap.
> (Assuming Linux-VServer 2.1+)
Does it actually start to use (real host) swap space as soon as the 
rss.soft limit has been reached, or does it only display as 
(virtualized) swap (and the host will not swap until the whole RAM is used)?

Many thanks for clarifying this!


Have a great weekend
Chris