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] extremely long xend startup time causing /etc/init.d/xen

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] extremely long xend startup time causing /etc/init.d/xendomains not to run?
From: Ryan Harper <ryanh@xxxxxxxxxx>
Date: Wed, 14 Sep 2005 14:13:14 -0500
Cc: xen-tools@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 14 Sep 2005 19:12:33 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050914185350.GA20032@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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20050914185350.GA20032@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6+20040907i
* Sean Dague <sean@xxxxxxxxx> [2005-09-14 13:55]:
> I've started to notice the following issue, and would like to see if anyone
> else has seen it before digging too deep.
> When rebooting a xen system that has auto starting domains, they mostly
> don't start.
> On one system that tries to start 5 DomU instances, it appears only the last
> one (alphabetically) ends up starting.  On the system with only 2 DomU
> instances, nothing starts.  Neither of these are very speedy machines (700 &
> 800 Mhz respectively), so a timing problem with /etc/init.d/xend starting is
> probably exacerbated in this environment.
> Sanity confirmation on this would be really useful, so if anyone else has
> seen this please also post back. :)

I've seen this a lot when working bug#197 As the number of entries in
/var/lib/xenstored/store/domain/$uuid increase, the time for xend to get
up and running increases.  When I had over 500 stale uuid directories in
the store, it took several *minutes* for xend to full come up, and
/var/lib/xenstored was several hundred MB.

The only workaround I know is to:

/etc/init.d/xend stop
killall xenstored xenconsoled
rm -rf /var/lib/xenstored/*
/etc/init.d/xend start 

Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253

Xen-devel mailing list

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