[BlueOnyx:27246] Re: Error changing settings on Aventurin{e} CT

Colin Jack colin at mainline.co.uk
Sat Sep 14 13:31:41 -05 2024


Hi Michael,

This is from an old email but I have dug it out because I am getting physpages errors with a new CT.

> On 26/05/2024, 17:14, "Blueonyx on behalf of Michael Stauber via Blueonyx" <blueonyx-bounces at mail.blueonyx.it <mailto:blueonyx-> > bounces at mail.blueonyx.it> on behalf of blueonyx at mail.blueonyx.it <mailto:blueonyx at mail.blueonyx.it>> wrote:

> Yeah, the saving of the parameters sometimes goes off the rails. This is 
> due to the way how they are calculated may not coincide with maximums 
> that are actually allowed due to hardware limitations.


> The values for RAM and Swap are stored in pages, not gigabytes. There 
> also isn't a singular parameter for RAM, as that is broken down into 
> various subtypes.

> You can try to set 8GB RAM and 2GB swap from the command line like this:

> prlctl set <VPSID> --memsize 8GB --swap 2GB

> That will set and write out the correct limits for memory and swap. It 
> will break it down automatically to create the correct settings for the 
> associated memory related parameters such as physpages, lockedpages, 
> shmpages, privvmpages and vmguarpages.

Getting this error:

[root at atlas1 ~]# prlctl set 107 --memsize 8GB --swap 2GB
An incorrect value for --memsize is specified: 8GB

What do you think?

Many thanks

Colin




More information about the Blueonyx mailing list