Hi, this may be a triviality...I've installed a Perfect Server inside an OpenVZ container (Proxmox Host, Debian 7.0 default template). free -b gives me the following output: Code: total used free shared buffers cached Mem: 0 2832019456 1462947840 0 0 2637443072 -/+ buffers/cache: 194576384 4100390912 Swap: 0 0 0 My question is: why is the memory total displayed as 0, and how can I fix it to display the actual amount of memory available to the OpenVZ container? (mysqltuner.pl for one relies on this value, but I can imagine other things not working right with "0" total memory, so I'd rather fix it than ignore it)
http://opensourcehacker.com/2011/03/31/reducing-mysql-memory-usage-on-ubuntu-debian-linux/ you can check this for reducing the memory usage in openvz container.
Thanks for your reply, but actual memory usage is not the problem (the VM has 8G, of which around 1.5-3G are being used). The issue is that "free" reports 0 Bytes of total memory available (instead of the 8G). In htop I see all 8G, so I'm assuming there is some OpenVZ configuration that can be done to fix this. Does anybody have an idea?