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

Re: git clone failing over slow links?

From
Sskillzero@gmail.com <skillzero@gmail.com>
Date
Jun 9, 2009, 19:58 UTC
Message-ID
<2729632a0906091258v7ec334faue725c71bdd11165c@mail.gmail.com>
In-Reply-To
<alpine.LFD.2.00.0906091443050.31536@xanadu.home>
On Tue, Jun 9, 2009 at 11:55 AM, Nicolas Pitre<nico@cam.org> wrote:
>
> Do you clearly have a set of people for whom the clone works and another
> set with issues?

Yes. Several us are able to reliably clone every time. A few users are able to clone once or twice (maybe 1 out of every 10 times), but otherwise, it fails when the server drops the connection.

From what they said, it looked like read_in_full() (in wrapper.c) isn't getting a full buffer. In two cases, 4077 or 4082 out of 4097 bytes. xread is returning 0 as you'd expect for an EOF.

> 147 KiB/s is not particularly slow either.  What is fast enough for the
> clone to usually succeed?

Mine is 500 KB/sec where it always succeeds. I can try using dummynet to simulate a slow link though.

> Also, since this is through an ssh connection, do you have anything in
> your syslog from sshd (usually in /var/log/secure) about anything
> unusual for the connection to go down?
I'm trying to get that from the server admin now.
Previous: Nicolas Pitre
Message 6 of 6 in “git clone failing over slow links?”
  1. skillzero@gmail.comJun 9, 2009
  2. Robin H. JohnsonJun 9, 2009
  3. Nicolas PitreJun 9, 2009
  4. Robin H. JohnsonJun 9, 2009
  5. Nicolas PitreJun 9, 2009
  6. skillzero@gmail.comJun 9, 2009

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.