From: Becky Bruce <becky.bruce@freescale.com>
To: git@vger.kernel.org
Subject: file descriptor leak? or expected behavior?
Date: Fri, 11 Nov 2005 16:58:39 -0600 [thread overview]
Message-ID: <dd9dee136a573d72fc7332373cfd8ac1@freescale.com> (raw)
Folks,
My apologies if this is a known issue/question - I've searched the list
and haven't found anything about this, but given the volume of traffic,
it's easy to miss things.....
I grabbed 0.99.9g this morning, and tried to clone Paul Mackerras'
linux merge tree. The clone failed and reported errors in http-fetch
with a bunch of messages of the form:
error: Couldn't create temporary file
.git/objects/04/48fa7de8a416a48cd1977f29858be54e67c078.temp for .git
/objects/04/48fa7de8a416a48cd1977f29858be54e67c078: Error 24: Too many
open files
I did some experimenting, and it looks like this crops up somewhere
between git versions 0.99.8f and 0.99.9a. My question is, is git
expected to try to open huge numbers of files, or is this a fd leak? I
cranked up my ulimit, and am still unable to successfully clone this
tree, although it fails differently (tail end of output....):
progress: 22 objects, 56146 bytes
Also look at
http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/
Getting pack list
error: The requested URL returned error: 404
Getting pack list
Getting index for pack e0d76ffe354ef5665028a6cb4506ea902f72e1d0
Getting pack e0d76ffe354ef5665028a6cb4506ea902f72e1d0
which contains 5014bfa48ac169e0748e1e9651897788feb306dc
progress: 1322 objects, 5736795 bytes
cg-fetch: objects fetch failed
cg-clone: fetch failed
The command I ran, and the tree I tried to clone are:
> cg-clone
http://www.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge.git
linux-2.6.paul
Cheers,
-B
next reply other threads:[~2005-11-11 22:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-11 22:58 Becky Bruce [this message]
2005-11-11 23:22 ` file descriptor leak? or expected behavior? Becky Bruce
2005-11-11 23:55 ` [PATCH] Fix bunch of fd leaks in http-fetch Petr Baudis
2005-11-12 5:45 ` Junio C Hamano
2005-11-12 17:38 ` Nick Hengeveld
2005-11-12 19:55 ` Petr Baudis
2005-11-13 3:37 ` Nick Hengeveld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dd9dee136a573d72fc7332373cfd8ac1@freescale.com \
--to=becky.bruce@freescale.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).