Re: [vserver] "free" command inside vserver

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Fri 25 Jan 2008 - 15:50:44 GMT
Message-ID: <57337.192.168.101.12.1201276244.squirrel@intranet>

Belinda Lawson wrote:
> Hello again,
>
> 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+)

> How, then, can my processes inside the vserver know what the memory limit?
> What are they looking at to determine the amount of available memory?
>
> I'm a bit frustrated with this right now. Do the maintainers of this
> software read this list? If so, I'd be very grateful to hear from them
> on
> my issues.
>
>
> Thanks much,
> -Belinda

-- 
Daniel Hokka Zakrisson
Received on Fri Jan 25 15:50:54 2008
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 25 Jan 2008 - 15:50:59 GMT by hypermail 2.1.8