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

[Xen-users] Error creating domain: (12, 'Cannot allocate memory')

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Error creating domain: (12, 'Cannot allocate memory')
From: Wyatt <wyatt@xxxxxxxxxxx>
Date: Tue, 21 Jun 2005 15:55:44 -0600
Delivery-date: Wed, 22 Jun 2005 09:18:27 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I have Centos 4.1 running on Xen (Dom0), and it works fine. However, when I try to start a new domain via xm create, I get the following error:

Error: Error creating domain: (12, 'Cannot allocate memory')

I have 512 MB on the machine.

Here are some copies of output:

[root@persephone rc3.d]# xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0       57    0  r----     88.2

[root@persephone rc3.d]# xm info
system                 : Linux
host                   : persephone
release                : 2.6.11.10-xen0
version                : #1 Sun May 22 11:38:50 BST 2005
machine                : i686
cores                  : 1
hyperthreads_per_core  : 1
cpu_mhz                : 400
memory                 : 511
free_memory            : 435

[root@persephone rc3.d]# cat /etc/xen/xen.conf
kernel = "/boot/vmlinuz-2.6-xenU"
memory = 128
name = "Test"
disk = ['phy:hda5,hda5,w']
root = "/dev/hda5 ro"

After running the command, I have some seemingly zombie domains:

[root@persephone rc3.d]# xm create /etc/xen/xen.conf -c
Using config file "/etc/xen/xen.conf".
Error: Error creating domain: (12, 'Cannot allocate memory')

[root@persephone rc3.d]# xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0       57    0  r----     90.4
Domain-6           6      128    0  --p--      0.0

I have to kill them using xm destroy Domain-X. Note that I do not specify the name of Domain-X; instead, it is supposed to be called Test.

I have tried using balloon to adjust memory on Dom-0, and while that works (xm list shows the new amount being used), it does not allow me to create any new domains.

Thanks in advance for the help!
--
Wyatt

Accident, n.:
        A condition in which presence of mind is good, but absence of
        body is better.
                -- Foolish Dictionary

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>