WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: James Pifer <jep@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Memory problems persist... Cannot allocate memory
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Thu, 31 Dec 2009 18:46:56 +0200
Cc: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 31 Dec 2009 08:47:36 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1262274313.3139.2.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <1262234360.15120.16.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <20091231140513.GW16033@xxxxxxxxxxx> <1262274313.3139.2.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
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