Subject: Can't start domU
To: None <port-xen@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: port-xen
Date: 06/21/2005 09:47:36
Hi!
I was trying to start 30 virtual machines as a final stress test for
my Xen server but it fails like this for the 24th domU. I've increased
kern.maxfiles to 500000 but it's still failing. Any ideas?
I think the last (30th) domU failure is okay because I'm running out
of memory (this machine has 4 GB) but 24th - 29th I don't understand...
n40:~> ssh root@xen1
Last login: Tue Jun 21 09:21:31 2005 from n40
NetBSD 3.0_BETA (DOMAIN0) #0: Tue Jun 7 09:22:25 EEST 2005
Welcome to NetBSD!
9:34AM up 6 mins, 1 user, load averages: 0.35, 0.16, 0.07
ROOT xen2:~> /var/tmp/run-tests.sh 30
Using config file "/var/run/netbsd.1.conf".
Started domain NetBSD-01, console on port 9601
Using config file "/var/run/netbsd.2.conf".
Started domain NetBSD-02, console on port 9602
Using config file "/var/run/netbsd.3.conf".
Started domain NetBSD-03, console on port 9603
Using config file "/var/run/netbsd.4.conf".
Started domain NetBSD-04, console on port 9604
Using config file "/var/run/netbsd.5.conf".
Started domain NetBSD-05, console on port 9605
Using config file "/var/run/netbsd.6.conf".
Started domain NetBSD-06, console on port 9606
Using config file "/var/run/netbsd.7.conf".
Started domain NetBSD-07, console on port 9607
Using config file "/var/run/netbsd.8.conf".
Started domain NetBSD-08, console on port 9608
Using config file "/var/run/netbsd.9.conf".
Started domain NetBSD-09, console on port 9609
Using config file "/var/run/netbsd.10.conf".
Started domain NetBSD-10, console on port 9610
Using config file "/var/run/netbsd.11.conf".
Started domain NetBSD-11, console on port 9611
Using config file "/var/run/netbsd.12.conf".
Started domain NetBSD-12, console on port 9612
Using config file "/var/run/netbsd.13.conf".
Started domain NetBSD-13, console on port 9613
Using config file "/var/run/netbsd.14.conf".
Started domain NetBSD-14, console on port 9614
Using config file "/var/run/netbsd.15.conf".
Started domain NetBSD-15, console on port 9615
Using config file "/var/run/netbsd.16.conf".
Started domain NetBSD-16, console on port 9616
Using config file "/var/run/netbsd.17.conf".
Started domain NetBSD-17, console on port 9617
Using config file "/var/run/netbsd.18.conf".
Started domain NetBSD-18, console on port 9618
Using config file "/var/run/netbsd.19.conf".
Started domain NetBSD-19, console on port 9619
Using config file "/var/run/netbsd.20.conf".
Started domain NetBSD-20, console on port 9620
Using config file "/var/run/netbsd.21.conf".
Started domain NetBSD-21, console on port 9621
Using config file "/var/run/netbsd.22.conf".
Started domain NetBSD-22, console on port 9622
Using config file "/var/run/netbsd.23.conf".
Started domain NetBSD-23, console on port 9623
Using config file "/var/run/netbsd.24.conf".
Error: Error creating domain: Couldn't listen on localhost:9624: (7, 'No
address associated with hostname').
Using config file "/var/run/netbsd.25.conf".
Error: Error creating domain: Couldn't listen on localhost:9625: (24,
'Too many open files').
Using config file "/var/run/netbsd.26.conf".
Error: Error creating domain: Could not open Xen control interface
Using config file "/var/run/netbsd.27.conf".
Error: Error creating domain: Could not open Xen control interface
Using config file "/var/run/netbsd.28.conf".
Error: Error creating domain: Could not open Xen control interface
Using config file "/var/run/netbsd.29.conf".
Error: Error creating domain: Could not open Xen control interface
Using config file "/var/run/netbsd.30.conf".
Error: Error creating domain: (12, 'Cannot allocate memory')
ROOT xen1:~>
ROOT xen1:~> xm list
Name Id Mem(MB) CPU State Time(s) Console
Domain-0 0 128 0 r---- 24.3
Domain-24 24 128 0 --p-- 0.0
Domain-25 25 128 1 --p-- 0.0
Domain-26 26 128 0 --p-- 0.0
Domain-27 27 128 1 --p-- 0.0
Domain-28 28 128 0 --p-- 0.0
Domain-29 29 128 1 --p-- 0.0
NetBSD-01 1 127 1 -b--- 1.4 9601
NetBSD-02 2 127 0 -b--- 1.1 9602
NetBSD-03 3 127 1 -b--- 1.3 9603
NetBSD-04 4 127 0 -b--- 1.2 9604
NetBSD-05 5 127 1 -b--- 1.2 9605
NetBSD-06 6 127 0 -b--- 1.2 9606
NetBSD-07 7 127 1 -b--- 1.1 9607
NetBSD-08 8 127 0 -b--- 1.1 9608
NetBSD-09 9 127 1 -b--- 1.2 9609
NetBSD-10 10 127 0 -b--- 1.2 9610
NetBSD-11 11 127 1 -b--- 1.1 9611
NetBSD-12 12 127 0 -b--- 1.1 9612
NetBSD-13 13 127 1 -b--- 1.2 9613
NetBSD-14 14 127 0 -b--- 1.1 9614
NetBSD-15 15 127 1 -b--- 1.1 9615
NetBSD-16 16 127 0 -b--- 1.1 9616
NetBSD-17 17 127 1 -b--- 1.1 9617
NetBSD-18 18 127 0 -b--- 1.1 9618
NetBSD-19 19 127 1 -b--- 1.2 9619
NetBSD-20 20 127 0 -b--- 1.1 9620
NetBSD-21 21 127 1 -b--- 1.1 9621
NetBSD-22 22 127 0 -b--- 1.1 9622
NetBSD-23 23 127 1 -b--- 1.1 9623
ROOT xen1:~>