Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

Re: http protocol, cloning git.git, fails (too many open files)

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:11

merlyn@stonehenge.com (Randal L. Schwartz) writes:
    $ mkdir foo
    $ cd foo
    $ cg-clone http://www.kernel.org/pub/scm/git/git.git git.new
    Fetching head...
    Fetching objects...
    progress: 1 objects, 191 bytes
progress: 2 objects, 519 bytes
progress: 3 objects, 5851 bytes
progress: 4 objects, 7671 bytes
...

    progress: 66 objects, 187452 bytes

And at this point, it hung.  I had to ^C.
This sounds like the problem the patch Pasky posted last night
addresses.

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.  This is from the tip of
the master tree (essentially the same as 0.99.9h aka 1.0rc1),
built without Pasky's patch.  Maybe the number of in-transit
requests in your case is much higher with your connection while
waiting for a packfile to arrive than my setup.

Could you please try with the patch Nick posted (which covers
less) and then with Pasky's patch?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help