[OmniOS-discuss] qemu-system-x86_64 can not locked enough memory
Fucai.Liang
fcliang at baolict.com
Tue Dec 1 17:24:34 UTC 2015
root at BLCC01:/root# vmstat 15
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr ro s0 s1 s2 in sy cs us sy id
0 0 0 8327684 16628108 21 334 0 0 0 0 39 1 1 28 28 3971 22009 9713 1 6 93
0 0 0 7135732 15842152 1 3 0 0 0 0 0 0 0 19 19 3895 22852 9855 1 5 93
1 0 0 7135692 15842176 0 0 0 0 0 0 0 0 0 26 26 4053 22766 9903 1 5 94
0 0 0 7135656 15842140 0 0 0 0 0 0 0 0 0 20 20 4001 22727 9858 1 5 94
——————————————>launch third VM .
1 0 0 1966932 14275356 13 98 0 0 0 0 0 0 0 20 20 4103 22893 10480 1 8 91
0 0 0 1037608 13954964 2 30 0 0 0 0 0 0 0 19 19 4195 23059 10683 1 6 93
0 0 0 1037280 13954636 0 0 0 0 0 0 0 0 0 24 24 4312 22948 10636 1 5 94
0 0 0 1037112 13954468 0 0 0 0 0 0 0 0 0 21 21 4362 22927 10678 1 5 93
0 0 0 1037288 13954644 0 0 0 0 0 0 0 0 0 19 19 4256 22897 10551 1 5 94
0 0 0 1037412 13954768 0 0 0 0 0 0 0 0 0 19 19 4384 23172 10638 1 6 93
thank Dan
-----------------------------------
fcliang
> On Dec 2, 2015, at 1:11 AM, Dan McDonald <danmcd at omniti.com> wrote:
>
>
>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20151202/bd67657e/attachment-0001.html>
More information about the OmniOS-discuss
mailing list