ExamarCorp / ovz-web-panel

Automatically exported from code.google.com/p/ovz-web-panel
Other
0 stars 0 forks source link

Changing Memory Won'y Apply #409

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:
1. Click change setting, change RAM 2048 to 4096
2. OpenVZ show RAM 4096 but Memory Usage still 2048
3. Restart the Container still no effect

Actual result: Memory Usage 2048

Expected result: Memory Usage 4096

Version of the product: OpenVZ Web Panel 2.0

Server OS: CentOS 6.2

Browser: Firefox

Additional information: -

Original issue reported on code.google.com by kotakomp...@gmail.com on 6 Mar 2012 at 1:02

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 13 Mar 2012 at 12:44

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 1 May 2012 at 9:57

GoogleCodeExporter commented 9 years ago
I got this as well, I found out that by running the following command in the 
host machines SSH adds the correct ram to the VPS.

vzctl set 101 --ram 512M --save

Change 101 to the VPS ID and change the ram to what ever you want... for 
gigabyte you can use "G", for example "4G".

Original comment by rixon.andy on 22 Nov 2012 at 6:57

GoogleCodeExporter commented 9 years ago
This is still not fixed. Also, if one opts to change the memory size on the 
command line like 'rixon' said (via zctl set 101 --ram 512M --save) then that 
does work for the VM in question but the OVZ Web Panel doesn't update to show 
the new value even after a container restart. I suspect the web panel is 
looking at the wrong configuration values -- it's changing PHYSPAGES and not 
PRIVVMPAGES when it should change+read both to allocate memory settings (or 
have a form field option to be able to set and view both settings).

Original comment by themattr...@gmail.com on 2 Mar 2013 at 2:17