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-users] VM suddenly hangs

To: Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] VM suddenly hangs
From: Marco Weber <marco.jamendo@xxxxxxxxx>
Date: Sat, 29 Jan 2011 17:35:06 -0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 29 Jan 2011 17:36:34 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=vGUwPvOsydSST4k02QSFgZmJZgg8eZwdjt5C2a6iy90=; b=dcU1yAa5gefw490M9OyCSlq+56OFCnLVBR0jFxDm5yWLYQLGnOc+Ar3QP8PUT0KqXP 7NV81koJ0GHF9QsY2WUNPGCryvy7rShLlZDF9qVf97TWqfLuzSL6MAb29U0dcVbJ7f3S X9lQ9OO2PUDNurqsMzbgwC3T3SiaJHx7ddbw8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=NhbDPKSWRUD6tg8h0KjS1Ur8xFmri4tmmtvyjecjKvj4FOOz5nJ6xGnUNHsj9R1Yqu lSj57jEph03+Jm+FytnjpJ2Pzf7cvG7Jw70seKU3XzrZ+9Lr5aZhqCff1ilhC00OGjWX 28yMGTckp5QAigjKnudtsF+jCUHLK0ZqUaNiU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <p06240868c966203dd7e0@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTikNTekujYjmWz0aAqKzrrboDArKuxaGJOOwATSr@xxxxxxxxxxxxxx> <p06240868c966203dd7e0@xxxxxxxxxxxxxxxxxxxxxx>
Reply-to: marco@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
right now it happened again... i followed your guide, and it seems that the vm uses 100% cpu.
what can be done to fix this xenconsoled bug?

2011/1/26 Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Marco Weber wrote:

This problem just occurs on a small ubuntu 8.04 LTS host.
On this host, there is just 1 VM running.
The problem always occurs, when the VM is up for about 2-3days.
Suddenly, the machine hangs and you cannot connect to it using ssh.
( Just a xm destroy  and  xm create   helps to get the VM running again. )

>From the copious console messages I think it probably isn't the known xenconsoled bug, but just to rule it out can you try this next time it happens ?

With xentop, see how much CPU the guest is using. Typically I see the guest taking one full core.

stop xend - "/etc/init.d/xend stop"

kill the xencolsoled process :
ps axl | grep xenconsoled
kill nnn (where nnn is the process ID found in the previous step)

start xend again - "/etc/init.d/xend start"

Withsome combinations of xen and kernel, the guest will block on IO to the console because xenconsoled has turned up it's toes in some way. Restarting xenconsoled unblocks it and the guest carries on as it was.

Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

Xen-users mailing list

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>