[Users] Re: swap unlimited on the CT?

Kir Kolyshkin kir at openvz.org
Thu Sep 13 11:36:10 EDT 2012


On 13 September 2012 17:20, Benjamin Henrion <bh at udev.org> wrote:
> On Thu, Sep 13, 2012 at 3:06 PM, Benjamin Henrion <bh at udev.org> wrote:
>> Hi,
>>
>> I am struggling to setup a container with unlimited parameters,
>> including the swap.
>>
>> I put in my config:
>>
>> PHYSPAGES="unlimited"
>> SWAPPAGES="unlimited"
>
> Ok found the solution, apparently, commenting SWAPPAGES or removing it
> from the config makes the CT to have access to the whole swap of the
> HN.
>
> Which is different from setting it to "unlimited". Strange, but it works...

Strange indeed. Can you please revert back to config when it was not
working as expected, restart CT and then provide the following:

- cat /etc/vz/conf/$CTID.conf
- cat /proc/bc/$CTID/resources
- uname -a
- vzctl --version


More information about the Users mailing list