Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 170630

KVM: Cannot allocate memory

$
0
0
Hello.

I have KVM virtual machines on host with 64Gb RAM. Now total usage of RAM by them achieved almost 30Gb. And I can't start more:

Code:

# qm start 213
Failed to allocate 4294967296 B: Cannot allocate memory
start failed: command '/usr/bin/kvm -id 213 -chardev 'socket,id=qmp,path=/var/run/qemu-server/213.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -vnc unix:/var/run/qemu-server/213.vnc,x509,password -pidfile /var/run/qemu-server/213.pid -daemonize -name qa3.forbet.net -smp 'sockets=2,cores=2' -nodefaults -boot 'menu=on' -vga cirrus -k en-us -m 4096 -usbdevice tablet -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=/var/lib/vz/images/213/vm-213-disk-1.raw,if=none,id=drive-virtio0,aio=native,cache=none' -device 'virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap213i0,script=/var/lib/qemu-server/pve-bridge' -device 'rtl8139,mac=32:60:85:C0:A6:92,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'' failed: exit code 1

But there are much of RAM yet:
Code:

# free
            total      used      free    shared    buffers    cached
Mem:      65963420  27951904  38011516          0      9536      58548
-/+ buffers/cache:  27883820  38079600
Swap:      3998712          0    3998712

And Kernel is 64x so can allocate it:
Code:

# uname -a
Linux vds1 2.6.32-17-pve #1 SMP Wed Nov 28 07:15:55 CET 2012 x86_64 GNU/Linux

There are bunch of similar questions on forum but all of them regarding OpenVZ but not like to mine.
Do you have any suggestions?

Viewing all articles
Browse latest Browse all 170630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>