real memory consumption is double then the setting in proxmox

felipe

Well-Known Member
Oct 28, 2013
222
6
58
hi,

im am running pve-manager/3.4-1/3f2d890e (running kernel: 3.10.0-7-pve) on one node.
some virtual machines consume a lot more memory then they should.
i put for exmaple fixed 16GB for the machine id 212- and top shows me RES 22.3 and VIRT even 29GB!
i am not able to start more vms as the server says Cannot allocate memory

any ideas how this can happen?

bellow a dump of ps from one of the vms consuming to much ram...


22.3 28284 root /usr/bin/kvm -id 212 -chardev socket,id=qmp,path=/var/run/qemu-server/212.qmp,server,nowait -mon chardev=qmp,mode=control -vnc unix:/var/run/qemu-server/212.vnc,x509,password -pidfile /var/run/qemu-server/212.pid -daemonize -name wn-mesonic-sql -smp 4,sockets=1,cores=4,maxcpus=4 -nodefaults -boot menu=on,strict=on,reboot-timeout=1000 -vga std -no-hpet -cpu kvm64,hv_spinlocks=0xffff,hv_relaxed,+lahf_lm,+x2apic,+sep -m 16384 -k de -device piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2 -device usb-tablet,id=tablet,bus=uhci.0,port=1 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -iscsi initiator-name=iqn.1993-08.org.debian:01:86dbd374b4df -drive if=none,id=drive-ide2,media=cdrom,aio=native -device ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200 -drive file=rbd:pool2replica/vm-212-disk-1:mon_host=192.168.10.101 192.168.10.103 192.168.10.102:id=admin:auth_supported=cephx:keyring=/etc/pve/priv/ceph/pool2replica.keyring,if=none,id=drive-virtio0,cache=writeback,aio=native,detect-zeroes=on -device virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,bootindex=100 -netdev type=tap,id=net0,ifname=tap212i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on -device virtio-net-pci,mac=7E:37:4F:16:CD:E1,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300 -rtc driftfix=slew,base=localtime -machine type=pc-i440fx-2.1 -global kvm-pit.lost_tick_policy=discard -incoming tcp:192.168.11.33:60000 -S
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!