james25182 Posted June 23, 2015 Share Posted June 23, 2015 Hi, I'm new to unRAID but I've successfully migrated 4TB of data to my new system and got a few dockers running merrily. I wanted to create an Ubuntu VM but when creating the VM I get an error message: Error creating VM: internal error: process exited while connecting to monitor: 2015-06-23T12:22:02.619982Z qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory I'm running an HP Microserver G8 with 2GB RAM. I allocated 512MB to the VM. Stats is showing approx 1GB allocated, the rest is cached/free. A quick Google doesn't come up with any answers. Can anyone help? Link to comment
itimpi Posted June 23, 2015 Share Posted June 23, 2015 Hi, I'm new to unRAID but I've successfully migrated 4TB of data to my new system and got a few dockers running merrily. I wanted to create an Ubuntu VM but when creating the VM I get an error message: Error creating VM: internal error: process exited while connecting to monitor: 2015-06-23T12:22:02.619982Z qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory I'm running an HP Microserver G8 with 2GB RAM. I allocated 512MB to the VM. Stats is showing approx 1GB allocated, the rest is cached/free. A quick Google doesn't come up with any answers. Can anyone help? The last time a similar question came up the problem disappeared when more RAM was added to the machine. My suspicion is that as well as the RAM allocated to the VM there is additional RAM being used to run KVM itself, and the combination has taken you over your systems capabilities. 2GB of RAM is certainly very low in any modern system, especially if you want to get into virtualisation. Link to comment
jonp Posted June 23, 2015 Share Posted June 23, 2015 Correct. Cannot allocate memory means you do not have enough RAM. There is a bit of overhead in RAM for each VM you create for emulation. Have you added any containers or plugins? Link to comment
james25182 Posted June 23, 2015 Author Share Posted June 23, 2015 Thanks for the replies. I've added a couple of plugins - just the stats and community applications plugins. I've got 5 Docker applications running too. I've got a spare 2GB DIMM which I'll stick in there and see if that sorts it. I'll report back with results. As an aside - the error message could be more helpful! Link to comment
jonp Posted June 23, 2015 Share Posted June 23, 2015 Refining error messages is something we want to do. Right now we are simply rendering the message that qemu/libvirt gives us. This particular message is actually far less obtuse than others I've seen. You definitely do not have enough RAM to create a VM if you have all that other stuff running. I admire your attempt to squeeze every ounce of horsepower out of that machine, but 2GB is just not sufficient. Report back after adding more memory and let us know if that solves your problem (it should). Link to comment
itimpi Posted June 23, 2015 Share Posted June 23, 2015 Thanks for the replies. I've added a couple of plugins - just the stats and community applications plugins. I've got 5 Docker applications running too. I've got a spare 2GB DIMM which I'll stick in there and see if that sorts it. I'll report back with results. As an aside - the error message could be more helpful! That sounds like a reasonably impressive list of things to be running on 2GB even without trying to run a VM Link to comment
james25182 Posted June 23, 2015 Author Share Posted June 23, 2015 Adding another 2GB did the trick! VM has started successfully. Thanks for your help. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.