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

Re: [Xen-users] Problem for "xm create": "kernel: Setting mem allocation to ..."


  • To: "Ulrich Windl" <ulrich.windl@xxxxxxxxxxxxxxxxxxxx>
  • From: harm <harmweites@xxxxxxxxx>
  • Date: Thu, 19 Oct 2006 16:48:02 +0200
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 19 Oct 2006 07:48:51 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=MnaJ+EXGNC6dehr4AV7GdjTDf3ImEp227Rj0b0bk5q3XntcCjsK+1oCHArvjSaeGOitUmBU3NgGPY725eTOaMgARNacCd1FnLKlFHchZllCkdtmUk8LXfkggZfabFk8mKswoPYmWf3B0TlE07oZNXOS126RC8ni9cWhk6qW8Gq4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

there is a balloon setting to specify the ram usage by Dom0, look in your /etc/xend-config.sxp near the end of the file.
Your error msg indicates there is not enough free ram.

You can check it with xm list, that will show the current mem usage with Xen. Free -h will show system mem usage.

On 10/19/06, Ulrich Windl <ulrich.windl@xxxxxxxxxxxxxxxxxxxx> wrote:
Hi,

When trying to boot a freshly created VM, nothing seems to happen, but Dom0
repeats  messages like
kernel: Setting mem allocation to ... kIB
while "..." is some large number like this:
Oct 19 15:55:33 rkdvmso1 kernel: Setting mem allocation to 816764 kiB
Oct 19 15:55:41 rkdvmso1 kernel: Setting mem allocation to 816764 kiB
Oct 19 15:55:46 rkdvmso1 kernel: Setting mem allocation to 816764 kiB
Oct 19 15:55:54 rkdvmso1 kernel: Setting mem allocation to 816764 kiB

Eventually I see (after "xm create"):
Error: The privileged domain did not balloon!

Now I think the error message on the console and in the syslog could be improved:
Is Dom0 kernel retrying, how much is available (I assume less than demanded).
Could this be a NUMA problem?

A "# xm mem-set 0 256" to reduce the mem of Domain-0, but the VM wouldn't start,
and Domain-0 re-allocated the previous size (556M)

How do I limit the maximum mem for Domain-0, so that DomUs have enough RAM left
over for them?

Regards,
Ulrich


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

_______________________________________________
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®.