[vserver] Trying to understand vserver memory

From: Belinda Lawson <briffee_at_gmail.com>
Date: Thu 24 Jan 2008 - 06:15:05 GMT
Message-Id: <D0E78658-D12D-4719-A92B-C5B62747CCF3@gmail.com>

Hi, I need a bit of help understanding how memory management works
inside a vserver. My problem is that I would like to mimic the
behavior of a unix system with 256M ram and 256M swap. I have read
the documentation on the wiki, but I am still not certain how to
mimic the behavior of swap.

In my experiments, if I set the rss hard limit to 256M to reflect the
physical ram, it begins to kill processes (somewhat randomly?) if
more than 256M is requested, rather than allow swap to be used. In
fact, I never see swap used at all, which is very strange since
`free` reports that swap does exist inside the vserver. Could you
help me understand how I can adjust the rss and as limits to get
behavior more in line with my goal?

Thanks, in advance, for any enlightenment you can provide.

Best regards,
-Belinda
Received on Thu Jan 24 06:15:31 2008

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 24 Jan 2008 - 06:15:37 GMT by hypermail 2.1.8