OS/RHEL7
cannot allocate memory 조치 방법
zzerog
2021. 9. 30. 13:24
728x90
[증상]
# hugepage 설정된 KVM Host에서 virsh start 시 Cannot allocate memory 에러나며 실행 불가
[root@director-host ~]# virsh start director error: Failed to start domain director error: internal error: process exited while connecting to monitor: ioctl(KVM_CREATE_VM) failed: 12 Cannot allocate memory 2021-09-30T01:43:10.316038Z qemu-kvm: failed to initialize KVM: Cannot allocate memory |
[조치방법]
[root@director-host ~]# free -m total used free shared buff/cache available Mem: 386655 363228 3491 2215 19935 20367 Swap: 4095 2196 1899 [root@director-host ~]# sync [root@director-host ~]# echo 3 > /proc/sys/vm/drop_caches [root@director-host ~]# virsh start director Domain director started [root@director-host ~]# virsh list --all Id Name State ---------------------------------------------------- 51 director running |
반응형