From: walt <wa1ter@myrealbox.com>
To: git@vger.kernel.org
Subject: Re: http protocol, cloning git.git, fails (too many open files)
Date: Sun, 13 Nov 2005 16:01:33 -0800 [thread overview]
Message-ID: <1131926492.14637.5.camel@k9.localnet> (raw)
In-Reply-To: <7vmzk9e9km.fsf@assigned-by-dhcp.cox.net>
On Sat, 2005-11-12 at 15:21 -0800, Junio C Hamano wrote:
[...]
> However, one thing puzzles me. I just tried to reproduce it by
> doing this:
>
> $ rm -fr git-http
> $ ulimit -n 16
> $ git clone http://www.kernel.org/pub/scm/git/git.git git-http
>
> and it did not fail on my Linux box...
I've never seen it on Linux, but I do see it on NetBSD every time
with ulimit -n 64 (the default):
> Could you please try with the patch Nick posted (which covers
> less) and then with Pasky's patch?
Neither patch fixes the 'too many open files' error, but Pasky's
patch produces this debugging output:
[...]
progress: 46 objects, 105660 bytes
error: Couldn't create temporary
file .git/objects/ee/baf3aaffa72996ac8bdbc8e9498814cd99f506.temp
for .git/objects/ee/baf3aaffa72996ac8bdbc8e9498814cd99f506: Too many
open files
progress: 48 objects, 108247 bytes
error: fd leakage in release: 9
error: fd leakage in release: 11
error: fd leakage in release: 3
error: fd leakage in release: 13
error: fd leakage in release: 6
error: fd leakage in release: 12
error: fd leakage in release: 14
error: fd leakage in release: 8
error: fd leakage in release: 16
error: fd leakage in release: 15
error: fd leakage in release: 10
error: fd leakage in release: 5
error: fd leakage in release: 21
error: fd leakage in release: 17
error: fd leakage in release: 22
error: fd leakage in release: 19
error: fd leakage in release: 20
error: fd leakage in release: 25
error: fd leakage in release: 26
error: Could not read e8700aa756a3296ede4403db349dc64586935139
Waiting for
http://www.kernel.org/pub/scm/git/git.git/objects/dd/d5823df728bf213425533dcd2e47d61cbccf9e
cg-fetch: objects fetch failed
cg-clone: fetch failed
next prev parent reply other threads:[~2005-11-14 0:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-12 22:25 http protocol, cloning git.git, fails (too many open files) Randal L. Schwartz
2005-11-12 23:21 ` Junio C Hamano
2005-11-14 0:01 ` walt [this message]
2005-11-14 0:42 ` wa1ter
2005-11-14 1:09 ` Petr Baudis
2005-11-14 1:52 ` Junio C Hamano
2005-11-14 13:09 ` wa1ter
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=1131926492.14637.5.camel@k9.localnet \
--to=wa1ter@myrealbox.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).