joe mcguckin
2009-Jul-02 02:27 UTC
[Xen-users] ''xm create'' creates domains without a valid console tty
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-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
joe mcguckin
2009-Jul-02 20:42 UTC
[Xen-devel] ''xm create'' creates domains without a valid console tty
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@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2009-Jul-02 20:51 UTC
Re: [Xen-devel] ''xm create'' creates domains without a valid console tty
On 02/07/2009 21:42, "joe mcguckin" <joe@via.net> 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 work)? 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 Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Seemingly Similar Threads
- ''xm create'' creates domains without a valid console tty
- xenconsole: Could not read tty from store: No such file or directory
- xenconsole: Could not read tty from store: No such file or directory
- xenconsole: Could not open tty `/dev/pts/2'': No such file or directory
- how to save xm dmesg into a file