[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Memory allocation with rebooted HVM

On Tue, 13 Oct 2009, Keir Fraser wrote:
> On 13/10/2009 19:13, "Stefano Stabellini" <stefano.stabellini@xxxxxxxxxxxxx>
> wrote:
> >> This seems to have been triggered just by that one domU being restarted.
> >> I've seen this before as well, when a 4G domU tried to restart and hosed a
> >> box that only had 3G of memory free (on top of the 4G it was using).
> > 
> > It seems to me that the new domain is always created after the old one
> > has been destroyed with the exception that the old stubdom may still be
> > alive but one stubdom uses only 32MB of ram, therefore cannot be the one
> > preventing you from restarting the domain, especially in the case above
> > where you had 3G free.
> How much guest memory might the stubdom map? Could the stubdom be preventing
> the guest's memory from being freed, by holding references to the pages?

Yes it could, this can also be the reason why he was able to reproduce
this problem only few times (it depends on how much memory the stubdom has
mapped, and that can vary from case to case).

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.