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

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

From
TMTimothy Normand Miller <theosib@att.net>
Date
May 29, 2012, 20:42 UTC
Message-ID
<995429D1-7204-4B8E-A7CE-94ABB99D707B@att.net>
In-Reply-To
<alpine.DEB.2.00.1205282225590.31146@cone.martin.st>
The fix is to set "TcpRcvBufPoll no" in sshd_config.

http://forums.gentoo.org/viewtopic-t-925044-start-0-postdays-0-postorder-asc-highlight-.html http://forums.gentoo.org/viewtopic-p-7036250.html

On May 28, 2012, at 3:36 PM, Martin Storsjö wrote:
Show 17 quoted lines
> 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
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: Martin Storsjö
Message 9 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.