{"thread":{"id":"23321","subject":"Problem with git push on (somewhat) large binaries","startedAt":"2010-04-03T11:02:26Z","lastAt":"2010-04-03T11:02:26Z","messageCount":1,"participants":["Tobi Stadelmaier"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"138498","messageId":"005a01cad31d$25df8b80$719ea280$@de","threadId":"23321","inReplyTo":null,"subject":"Problem with git push on (somewhat) large binaries","fromName":"Tobi Stadelmaier","fromEmail":"tobi@stadeltobi.de","sentAt":"2010-04-03T11:02:26Z","receivedAt":"2010-04-03T11:02:26Z","isPatch":false,"sender":{"key":"tobi@stadeltobi.de","avatar":null},"body":"Hi,\n\nI recently encountered a problem while pushing to a remote repository using\nssh\n- this usually works fine (and did for the last ~500 or so commits with no\nproblem), and I was able to pin it down to one commit where somebody added a\nbunch of somewhat large (but not *huge*) binaries - about 30 MBs of JPGs,\nMOVs\nand others overall in that commit.\n\nWhat I see when I want to push out this branch is the expected:\n\nPushing to <xxx>\nCounting objects: 172, done.\nDelta compression using up to 2 threads.\nCompressing objects: 100% (72/72), done\n\n\n..then gits starts to write objects, and gets to object 51 of 172. Then, all\nof\na sudden, it gets progressively slower (Kib/s indicator drops from 600K/s to\n200, then to 50, and further down) and then after a while it does nothing at\nall\nany more. Eventually, I get\n\nWrite failed: Connection reset by peer\nerror: pack-objects died of signal 13MiB | 47 KiB/s\nerror: pack-objects died with strange error\nerror: failed to push some refs to '<xxx>'\n\n\nEverything works when I rebase that branch so that I drop that one commit\nthat\nadds the binaries, and then push out the result.\n\nUpgrading the server from git 1.6.1 to 1.7.0.4 didn't help. I first expected\na\ncygwin problem (yeah, some of us are on Windows unfortunately), but I tried\nit\nwith a fresh clone on Kubuntu Edgy with git 1.6.3 - same problem. I also\ntried\n-delta on the binary files in question with .gitattributes as suggested\nsomwhere, no luck.\n\nSCPing my local repository to the server and then pushing \"over the file\nsystem\"\nthere works, though.\n\nAny ideas?\n\nThanks\nTobi\n"}]}