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

To: Ryan Harper <ryanh@xxxxxxxxxx>
Subject: [Xen-devel] Re: extremely long xend startup time causing /etc/init.d/xendomains not to run?
From: Sean Dague <sean@xxxxxxxxx>
Date: Wed, 14 Sep 2005 16:18:40 -0400
Cc: xen-tools@xxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 14 Sep 2005 20:16:27 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050914191314.GB9386@xxxxxxxxxx>
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>
Mail-followup-to: Ryan Harper <ryanh@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, xen-tools@xxxxxxxxxxxxxxxxxxx
References: <20050914185350.GA20032@xxxxxxxxxxxxxxxxxxx> <20050914191314.GB9386@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
On Wed, Sep 14, 2005 at 02:13:14PM -0500, Ryan Harper wrote:
> * 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 

I tried that, and nstartup still has xend in an odd state after about 15
minutes.  It looks like a few domains attempted to autostart, but never
made it.  I'll compile this into a bugzilla tonight.

        -Sean

-- 
__________________________________________________________________

Sean Dague                                       Mid-Hudson Valley
sean at dague dot net                            Linux Users Group
http://dague.net                                 http://mhvlug.org

There is no silver bullet.  Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________

Attachment: pgp5My7cZ8Rau.pgp
Description: PGP signature

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