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

Re: [Xen-users] Memory problems persist... Cannot allocate memory



On Thu, Dec 31, 2009 at 10:45:13AM -0500, James Pifer wrote:
> > How do you check this 'free memory'? from dom0, or from Xen hypervisor
> > "xm info" ?
> 
> Yes, from xm info.
> 
> 
> > Have you dedicated memory to dom0? ie. have you specified dom0_mem=512M
> > (or whatever you need) in grub.conf for xen.gz ? 
> 
> Yes:
> kernel /boot/xen.gz  dom0_mem=2048M
> 
> > 
> > In addition to dom0_mem for Xen hypervisor, you should also have
> > dom0-min-mem= specified in /etc/xen/xend-config.sxp to prevent dom0 from
> > being ballooned down.
> 
> # dom0-min-mem is the lowest permissible memory level (in MB) for dom0.
> # This is a minimum both for auto-ballooning (as enabled by
> # enable-dom0-ballooning below) and for xm mem-set when applied to dom0.
> (dom0-min-mem 512)
> 
> # Whether to enable auto-ballooning of dom0 to allow domUs to be
> created.
> # If enable-dom0-ballooning = no, dom0 will never balloon out.
> (enable-dom0-ballooning no)
> 
> Should this match the mem set at the kernel level or is this ok?
> 

Looks like you don't have dom0 ballooning enabled, so then dom0 should
always have the dedicated 2048 MB of memory.

What was the error you got? check dom0 "dmesg", "xm dmesg" and "xm log"
when creating 15/16+ guests..

-- Pasi


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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