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] "xm save" trouble -- deadlock?

To: Gerd Knorr <kraxel@xxxxxxx>
Subject: Re: [Xen-devel] "xm save" trouble -- deadlock?
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Tue, 1 Nov 2005 18:58:00 +0000
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 01 Nov 2005 18:55:07 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4367A2AF.2090707@xxxxxxx>
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: <43679B4C.3030804@xxxxxxx> <4367A2AF.2090707@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, Nov 01, 2005 at 06:15:27PM +0100, Gerd Knorr wrote:

> Some of the other threads behave in a strange way as well:
> 
>   master-xen root /vm/ttylinux# strace -p6568
>   Process 6568 attached - interrupt to quit
>   select(4, [3], [], [], {0, 960000})     = 0 (Timeout)
>   futex(0x80e53b8, FUTEX_WAKE, 1)         = 0
>   accept(3, 0x408193f8, [110])            = -1 EAGAIN (Resource 
> temporarily unavailable)
> 
> There is no point in calling accept(3) unless select() flags file handle 
> #3 as readable.

This mindboggling piece of loveliness is in xen/web/connection.py.  If you can
unpick it, a patch would be more than welcome!

Ewan.

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