From: Ryan Harper Subject: Re: extremely long xend startup time causing /etc/init.d/xendomains not to run? Date: Wed, 14 Sep 2005 14:13:14 -0500 Message-ID: <20050914191314.GB9386@us.ibm.com> References: <20050914185350.GA20032@underhill.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20050914185350.GA20032@underhill.no-ip.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: xen-tools@lists.xensource.com List-Id: xen-devel@lists.xenproject.org * Sean Dague [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 ryanh@us.ibm.com