[OmniOS-discuss] qemu-system-x86_64 can not locked enough memory

Dan McDonald danmcd at omniti.com
Tue Dec 1 17:11:43 UTC 2015


> On Dec 1, 2015, at 12:03 PM, Fucai.Liang <fcliang at baolict.com> wrote:
> 
> then I start the third vm (4G memory), it got the following error :
> 
> 
> qemu-system-x86_64 -enable-kvm -vnc 0.0.0.0:2 -cpu host -smp 2 -m 4096 -no-hpet
> 
> qemu_mlock: have only locked 1940582400 of 4294967296 bytes; still trying...
> qemu_mlock: have only locked 1940582400 of 4294967296 bytes; still trying...
> qemu_mlock: have only locked 1940582400 of 4294967296 bytes; still trying...
> qemu_mlock: have only locked 1940582400 of 4294967296 bytes; still trying...
> qemu_mlock: have only locked 1940582400 of 4294967296 bytes; still trying...
> qemu_mlock: have only locked 1940582400 of 4294967296 bytes; still trying…
> 
> 
> I got 15G free memory in the system, why qemu-system-x86_64 can not locked enough memory ?

What does "vmstat 1 5" say prior to your launch of the third VM?

Dan



More information about the OmniOS-discuss mailing list