> Thanks for your precisions Josh, you are right the core issue is lack of > memory on the host itself probably but if the 1GB is not locked (if I > understand what you said the zone will just grab more as it needs it while > staying below this cap) do you have an idea on why my initial scenario > failed ? > > My initial expectation was that creating 4 VMs with 2.5GB would leave 6GB > for the host + zfs but in this scenario the last VM to boot ends but in a > zombie state, I had the exact same behavior on the two identical hosts I > provisioned at the same time. Even taking into account the 1GB extension I > would expect to have 2 GB still left for the host. > > That's not a major issue but I am just trying to understand why it works > that way, I will try to reproduce it and have a look at the logfile pointed > above. > > One likely possibility here is that the zfs ARC was using some memory and in order to provision this new VM you were waiting for the kernel to reclaim some ARC which can be slow. We've seen this before, generally with systems that have been up for a while. The /var/log/vm/* log file should contain details that would help confirm this. If you're able to provide the log that contains the failed provision I'd be willing to take a look.
You can also take a look at the output of `arcstat` and see how much memory the ARC is currently using. That might give some idea of whether that could have been the problem. Thanks, Josh ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
