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-devel

[Xen-devel] 'xm create' creates domains without a valid console tty

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] 'xm create' creates domains without a valid console tty
From: joe mcguckin <joe@xxxxxxx>
Date: Thu, 2 Jul 2009 13:42:13 -0700
Delivery-date: Thu, 02 Jul 2009 13:44:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <454DD067-2B4D-4A3E-A9C8-7E942397008D@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

I've noticed that after I create 83 domains on a server, 'xm create' will create domains without a valid console tty value.

This corresponds approx. to 256 file descriptors. I've bumped up the limits for all daemon processes to 1500 file descriptors,
so I'm really puzzled where xen is hitting a resource limit.

Where is the code that creates the xs entries for a newly created domain??

Here's a partial xs dump from a working domain:

console = ""
  ring-ref = "6761587"
  port = "2"
  limit = "1048576"
  type = "xenconsoled"
  tty = "/dev/ttyta"
name = "netbsd.072"
domid = "74"
cpu = ""
  0 = ""
    availability = "online"
store = ""
  ring-ref = "6761588"
  port = "1"
serial = ""
  0 = ""
   tty = "/dev/ttyta"

Here's a dump from a broken domain:

console = ""
  ring-ref = "8205145"
  port = "2"
  limit = "1048576"
  type = "xenconsoled"
name = "netbsd.082"
domid = "84"
cpu = ""
  0 = ""
   availability = "online"
store = ""
  ring-ref = "8205146"
  port = "1"


Any ideas?

Thanks,

Joe


Joe McGuckin




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

<Prev in Thread] Current Thread [Next in Thread>