H
happyfunball
Guest
I've noticed that inside vz containers the commands top, free etc. no longer display the right memory. The meminfo setting is now ignored, instead it always shows the hardware nodes memory. Setting meminfo in the conf file for the container or from the command line has no effect. Older versions of the kernel didn't seem to have this problem.
How do I fix it so that inside the container shows memory limits again?
example:
vzctl set 5000 --meminfo pages:16384 --save
vzctl exec 5000 free
total used free shared buffers cached
Mem: 4294967295 0 4294967295 0 0 19012
-/+ buffers/cache: 4294948284 19011
Swap: 0 0 0
This is a fresh install, pveversion -v:
pve-manager: 1.9-26 (pve-manager/1.9/6567)
running kernel: 2.6.32-7-pve
proxmox-ve-2.6.32: 1.9-55+ovzfix-2
pve-kernel-2.6.32-7-pve: 2.6.32-55+ovzfix-2
qemu-server: 1.1-32
pve-firmware: 1.0-15
libpve-storage-perl: 1.0-19
vncterm: 0.9-2
vzctl: 3.0.29-3pve1
vzdump: 1.2-16
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.15.0-2
ksm-control-daemon: 1.0-6
How do I fix it so that inside the container shows memory limits again?
example:
vzctl set 5000 --meminfo pages:16384 --save
vzctl exec 5000 free
total used free shared buffers cached
Mem: 4294967295 0 4294967295 0 0 19012
-/+ buffers/cache: 4294948284 19011
Swap: 0 0 0
This is a fresh install, pveversion -v:
pve-manager: 1.9-26 (pve-manager/1.9/6567)
running kernel: 2.6.32-7-pve
proxmox-ve-2.6.32: 1.9-55+ovzfix-2
pve-kernel-2.6.32-7-pve: 2.6.32-55+ovzfix-2
qemu-server: 1.1-32
pve-firmware: 1.0-15
libpve-storage-perl: 1.0-19
vncterm: 0.9-2
vzctl: 3.0.29-3pve1
vzdump: 1.2-16
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.15.0-2
ksm-control-daemon: 1.0-6