[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] git error


  • To: xen-users@xxxxxxxxxxxxxxxxxxx, Josef LiÅka <jl@xxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Tue, 9 Nov 2010 07:53:43 -0800 (PST)
  • Cc:
  • Delivery-date: Tue, 09 Nov 2010 08:02:57 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=vGz+vmhsMWc6YE/LX/v6aSWqTK2L7ag9Hxdz9uwYVnI07ipjU4p5ElHsQioZRDpkoUNSVm5aNPv3wa7/1HDsGyq47kR6V6UjnfHZD07JnDpw4dHqH8YVXkXyx0A5SjYoklVPRFLd5B6gbDNoV3HqqWUnVh9DtZu4UgikPZDVwzk=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

> It seems to be in libxenstore. Does libvirt from your yum repo have any specific patches?
> (yum source libvirt and inspect /usr/src/redhat/SOURCES).
To honest i don't know. I don't have so many connections, so . . . .
But , on Ubuntu 10.10 current version of libvirt is 0.8.3 . It works with Xen (8-10 connections tested )

Boris.

--- On Tue, 11/9/10, Josef LiÅka <jl@xxxxxx> wrote:

From: Josef LiÅka <jl@xxxxxx>
Subject: Re: [Xen-users] git error
To: xen-users@xxxxxxxxxxxxxxxxxxx
Cc: "Boris Derzhavets" <bderzhavets@xxxxxxxxx>
Date: Tuesday, November 9, 2010, 9:58 AM

Hi,
I am on debian, so no yum here. Last libvirt version tested here is:
ii  libvirt-bin        0.8.4-1            the programs for the libvirt library

It seems to be in libxenstore. Does libvirt from your yum repo have any specific patches? (yum source libvirt and inspect /usr/src/redhat/SOURCES).

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:26, Boris Derzhavets napsal(a):
yum update libvirt will install 0.8.3.
Does it help ?

Boris.

--- On Tue, 11/9/10, Josef LiÅka <jl@xxxxxx> wrote:

From: Josef LiÅka <jl@xxxxxx>
Subject: [Xen-users] git error
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Tuesday, November 9, 2010, 9:00 AM

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="" rel="nofollow" class="yiv672335030yiv1271301037moz-txt-link-rfc2396E" target="_blank" href="http://www.selenic.com/mercurial/">"http://www.selenic.com/mercurial/">mercur
Getting pack list for <a href="" rel="nofollow" class="yiv672335030yiv1271301037moz-txt-link-rfc2396E" target="_blank" href="http://www.selenic.com/mercurial/">"http://www.selenic.com/mercurial/">mercur
error: Protocol <a href=""nofollow" class="yiv672335030yiv1271301037moz-txt-link-freetext" target="_blank" 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/


-----Inline Attachment Follows-----

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

!DSPAM:2,4cd95a15114761503711497!

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.