OpenVZ Forum


Home » Mailing lists » Users » swap unlimited on the CT?
Re: Re: swap unlimited on the CT? [message #47831 is a reply to message #47828] Thu, 13 September 2012 15:36 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

On 13 September 2012 17:20, Benjamin Henrion <bh@udev.org> wrote:
> On Thu, Sep 13, 2012 at 3:06 PM, Benjamin Henrion <bh@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


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: vzmigrate as backup
Next Topic: [Announce] Checkpoint-restore tool v0.1
Goto Forum:
  


Current Time: Thu Jun 19 09:19:53 GMT 2025

Total time taken to generate the page: 0.03917 seconds