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/
Home Products Support Community News


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

To: joe mcguckin <joe@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] 'xm create' creates domains without a valid console tty
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 02 Jul 2009 21:51:03 +0100
Delivery-date: Thu, 02 Jul 2009 13:51:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9989D916-BF09-4E71-AE09-4B184756DACC@xxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acn7Vejxfqk6Cs/XTRyHreeuu6QLiwAAObu0
Thread-topic: [Xen-devel] 'xm create' creates domains without a valid console tty
User-agent: Microsoft-Entourage/
On 02/07/2009 21:42, "joe mcguckin" <joe@xxxxxxx> wrote:

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

The missing tty nodes would be written by xenconsoled. See code in
tools/console/daemon/io.c:domain_create_tty(). Is the console daemon still
alive when this problem occurs (e.g., do other guest consoles continue to

You could try running xenconsoled with the -I command-line option. Then it
will not daemonize and you will see any error messages on stderr.

 -- Keir

Xen-devel mailing list

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