git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Junio C Hamano <junkio@cox.net>
Date
Nov 12, 2005, 23:21 UTC
Message-ID
<7vmzk9e9km.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<86acg9ijwa.fsf@blue.stonehenge.com>
merlyn@stonehenge.com (Randal L. Schwartz) writes:
Show 14 quoted lines
>     $ 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?

Previous: Randal L. SchwartzNext: walt
Message 2 of 7 in “http protocol, cloning git.git, fails (too many open files)”
  1. Randal L. SchwartzNov 12, 2005
  2. Junio C HamanoNov 12, 2005
  3. waltNov 14, 2005
  4. wa1ter@myrealbox.comNov 14, 2005
  5. Petr BaudisNov 14, 2005
  6. Junio C HamanoNov 14, 2005
  7. wa1ter@myrealbox.comNov 14, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.