Memory Incorrect

Ive tested and it seems that somehow in some condition, no matter what is set for openvz_memory and openvz_guaranteed_memory, it defaults to unlimited.

Im not sure if it has to do with cloudmin caching the server data or not.

Status: 
Active

Comments

Can you explain further what is going wrong here - is the memory limit within the VM incorrect? Or is it being displayed wrongly within Cloudmin ... and if so, on what page?

Its being shown incorrectly in the resource limits page.

So the memory limit on that page is taken from the PRIVVMPAGES entry in the VM's OpenVZ config file. What is that set to for the problem system?

its set to unlimited. Though it seems saving to guaranteed sets VMGUARPAGES and OOMGUARPAGES currently. However both data keys in the server .serv file have the right number.

The data keys in the .serv files are just a cache of memory limits, for faster access in some circumstances. When you visit the Resource Limits page, the actual limits from the .conf file should be loaded. For guaranteed memory, that is VMGUARPAGES

what config property does type_openvz_get_guaranteed_memory use as I may have modified by mistake.

It reads VMGUARPAGES