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-users

Re: [Xen-users] git error

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] git error
From: Josef Liška <jl@xxxxxx>
Date: Tue, 09 Nov 2010 15:09:46 +0100
Delivery-date: Tue, 09 Nov 2010 06:11:16 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CD95409.1080407@xxxxxx>
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>
Organization: CHL
References: <4CD95409.1080407@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10
My fault,
it is not git but mercurial. Mercurial does not seem to have bisect feature.
I'll try converting http://hivelogic.com/articles/converting-from-mercurial-to-git

S pozdravem
Josef Liška

CHL | system care

Telefon: +420.272048055
Fax: +420.272048064
Mobil: +420.776026526 denně 9:00 - 17:30
Jabber: jl@xxxxxx
https://www.chl.cz/


Dne 9.11.2010 15:00, Josef Liška napsal(a):
Hi list,
I am hunting a bug between libvirt and xen, which seems to appeared after xen-4.0.1rc3.

The problem is a "pipe leak". Each connection to libvirt leaves 3 open files:
libvirtd  14758       root   18u     unix 0xffff88002600ed00              351779 socket
libvirtd  14758       root   19r     FIFO                0,8              351781 pipe
libvirtd  14758       root   20w     FIFO                0,8              351781 pipe

Steps to reproduce:
1. install xen-4.0.1 and libvirt 0.7.6+
2. for i in `seq 1 1000`; do virsh -c xen://daman.vmin.cz list; done
if fails on "Too many open files"

After libvirt restart, works fine for cca 300 connections


I have not seen this with xen-3. Since libvirt links libxenstore:
        libxenstore.so.3.0 => /usr/lib/libxenstore.so.3.0 (0x00007f8845fea000)
and since I have a box with xen-4.0.1rc3 which seems to work well, I have tried to replace libxenstore.so.3.0 with one from older box. Voila, no "pipe leak".

Now I would like to look into sources and try to find which change introduced this behavior. Unfortunatelly,
I am unable to clone git repo:


los:/mnt/y# git clone http://xenbits.xen.org/xen-4.0-testing.hg
Initialized empty Git repository in /mnt/y/xen-4.0-testing.hg/.git/
error: File 0000000000000000000000000000000000000000 (http://xenbits.xen.org/xen-4.0-testing.hg/objects/00/00000000000000000000000000000000000000) corrupt
Getting pack list for http://xenbits.xen.org/xen-4.0-testing.hg
Getting alternates list for http://xenbits.xen.org/xen-4.0-testing.hg
Also look at <a href="" moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="http://www.selenic.com/mercurial/">"http://www.selenic.com/mercurial/">mercur
Getting pack list for <a href="" moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="http://www.selenic.com/mercurial/">"http://www.selenic.com/mercurial/">mercur
error: Protocol <a href=""true" class="moz-txt-link-freetext" href="http://xenbits.xen.org/xen-4.0-testing.hg">http://xenbits.xen.org/xen-4.0-testing.hg
Cannot obtain needed object 0000000000000000000000000000000000000000
fatal: Fetch failed.



Does anyone have a fresh copy of xen repo? I'd like to try "git bisect".

--

S pozdravem
Josef Liška

CHL | system care

Telefon: +420.272048055
Fax: +420.272048064
Mobil: +420.776026526 denně 9:00 - 17:30
Jabber: jl@xxxxxx
https://www.chl.cz/

!DSPAM:2,4cd954a0114761276564610!
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users !DSPAM:2,4cd954a0114761276564610!

Attachment: jl.vcf
Description: Vcard

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