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

Re: [Xen-devel] Xend crashes, how to debug?

To: Dennis Krul <dweazle@xxxxxxxxx>
Subject: Re: [Xen-devel] Xend crashes, how to debug?
From: Andrew Lyon <andrew.lyon@xxxxxxxxx>
Date: Mon, 30 Nov 2009 15:32:28 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 30 Nov 2009 07:32:48 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=OMyyPLnnVdObRAS+e7XQxO6ejJ4vFDhWrPBF3nR0F5I=; b=UhRHK63+pE3y6+D6G84dur3bUmgxN+lFC6cm+HLQcDi7q+tJIh/RMOHSpTw5fAfJ7d kC2hjJxdL7YcwybUV5Sk67j/sCbl3OPLlqKXHF/yaydS2dB6qSB5zamAKPiSVdDdZZwK LvKmQ2gTes6ksFNhdGPzAaau4pJfjd7PrR3I0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Zun5tPhtPoUjmN6ap+bxUTAYrZOCVv9/eY6nhpMrOvrjaAN+TCH0Fr8NUIZjlKlFXp Xycabh1eUjpy+gMxQr2+TJD5Al6Nij/pG9xgc+FOiKkVixtsLLPwD8eD14YH7Z4qKB0r E4ERNeLYEtPagRRNon48YWO+4YUpiwESCQL+M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <c6973d950911300651i3c2253c0o1a5ac44c1e2cb072@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <c6973d950911300651i3c2253c0o1a5ac44c1e2cb072@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Nov 30, 2009 at 2:51 PM, Dennis Krul <dweazle@xxxxxxxxx> wrote:
> Hi,
>
> We have a very annoying issue we've been unable to iron out. I've googled
> and browsed through the complete xen-devel and xen-user archives, but it
> seems we're the only ones having this issue, although I somehow doubt we
> really are.
>
> Once in a while xend simply crashes. When we don't touch anything it will
> keep running without problems. But sometimes, usually when we run 'xm
> create', xend crashes, leaving a 'Domain-Unnamed' behind, which we then have
> to destroy manually. Quite annoying, especially when your provisioning runs
> completely unattended.
>
> We don't have any idea where to look. The xen logs are completely useless,
> no clue what could be wrong whatsoever. A strace didn't provide much useful
> info and nothing related in the output of 'xm dmesg' either.
>
> I suspect the problem is caused by an I/O bottleneck. I noticed that ever
> since I moved the xenstore to a ramdisk (tmpfs), xend crashes less often,
> but it still happens.. If our I/O bottleneck is indeed the problem, how can
> I verify that? And shouldn't xend be more resilient against these types of
> issues? Have there been any patches in xend related to such issues? Can I
> increase the verbosity of xend logging perhaps?
>
> Some background info: We run Xen 3.3.2 on Fedora 11 with Linux 2.6.30.7
> (Fedora 11 kernel with forward ported Xen patches from OpenSUSE). Maybe it's
> an unusual setup, but apart from this issue it's actually perfectly stable.
> We didn't have much luck with Xen 3.4, so we decided to stick with 3.3.2 for
> now. The dom0 has 1Gb memory, which should be enough (and most of it is
> unused).
>
> Can anyone point us into the right direction on how to debug this issue? I
> don't have much knowledge about xen internals, so I'd appreciate any
> pointers. Thanks! :)
>
> --
> Dennis Krul <dweazle@xxxxxxxxx>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>

The Xenserver product uses a different xend which is written in ocaml
and is supposed to be a lot more robust, I believe somebody rewrote
the open source xend in ocaml for the same reasons so you could try
that.

I seem to recall threads about running xend in a stubdom so that might
be a option.

Andy

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