Unable to boot KVM VPS in SolusVM: failed to initialize KVM: Cannot allocate memory

Have more questions? Submit a request

Applicable to:

  • SolusVM


  • Unable to boot KVM VPS
  • Upon pushing the Reboot (Debug) button at the page SolusVM > Virtual Servers > <the affected VPS> the following error can be seen:

    SVM_ERROR: Domain kvm101 has been undefined
    Domain kvm101 defined from /home/kvm/kvm101/kvm101.xml
    Domain kvm101 marked as autostarted
    error: Failed to create domain from /home/kvm/kvm101/kvm101.xml
    error: internal error: qemu unexpectedly closed the monitor: ioctl(KVM_CREATE_VM) failed: 12 Cannot allocate memory
    2021-03-23T08:56:18.128294Z qemu-kvm: failed to initialize KVM: Cannot allocate memory


There is a lot of cached memory on the KVM Slave


  1. Log in to the KVM Slave node where the affected VPS is hosted via SSH
  2. Run the below command

    # sync; echo 3 > /proc/sys/vm/drop_caches

  3. Start the VPS 

Articles in this section

Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.