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

Re: Git hangs at “Writing objects: 11%”

From
Martin Storsjö <martin@martin.st>
Date
May 28, 2012, 19:36 UTC
Message-ID
<alpine.DEB.2.00.1205282225590.31146@cone.martin.st>
In-Reply-To
<3BBC77C3-B747-4F68-A135-954C3C00ECBA@att.net>
On Mon, 28 May 2012, Timothy Normand Miller wrote:
> I tried uploading a file via sftp, and it stalls out at 160K.  So this 
> is the cause of the problem.  SSH is broken.  Unfortunately, googling 
> for ssh and stall isn't getting me anywhere.

Not sure if this is the same issue you're seeing or not, but I ran into something similar a while ago - when connected from less reliable networks, connections (especially rsync or scp) over SSH stalled after a short while - interactive sessions worked fine.

In my case, the issue was a too pedantic iptables configuration. When communicating with the server from a less reliable network, packets could arrive out of order. If the server received packets that iptables/conntrack didn't think belonged to the session, my config sent ICMP unreachable packets as response (-j REJECT), basically terminating the connection.

I fixed it by adjusting the iptables config to not send ICMP unreachable for this case. An alternative solution was to set sysctl "net.netfilter.nf_conntrack_tcp_be_liberal = 1" - this made the out of order packets still be counted as part of the session, not triggering the bad behaviour of my iptables config.

Again, not sure if this is related to your issue or not, but it at least a similar symptom.

// Martin
Previous: Jeff KingNext: Timothy Normand Miller
Message 8 of 9 in “Git hangs at “Writing objects: 11%””
  1. Timothy Normand MillerMay 24, 2012
  2. Jeff KingMay 25, 2012
  3. Timothy Normand MillerMay 25, 2012
  4. Timothy Normand MillerMay 26, 2012
  5. Seth RobertsonMay 27, 2012
  6. Timothy Normand MillerMay 28, 2012
  7. Jeff KingMay 28, 2012
  8. Martin StorsjöMay 28, 2012
  9. Timothy Normand MillerMay 29, 2012

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.