title: Git fetch hangs on git-upload-pack
body: <p>Seemingly at random, our local repos can no longer fetch from our Bonobo server. It happens with our biggest remote repo (about 4GB) to different people and at different times, when we try to fetch locally. At first it was just every few months, but now it's increasing in frequency and happened to a lot of local repos at the same time today. For now we are solving it by moving a working <code>.git</code> folder around.  </p>
  
  <p>It rapidly prints some <code>POST git-upload-pack (gzip X to Y bytes)</code>, then hangs for half an hour to an hour.  </p>
  
  <p>If I delete a pack file from the objects dir, it complains about missing things then starts fetching correctly, but only for that <code>git-upload-pack</code>.  </p>
  
  <p>I've tried <code>repack</code> and <code>gc</code> in various ways to no effect. I tried upgrading git on both server and client from 1.8.4 to 1.9.</p>
  
  <p><code>clone</code>ing had the same problem, but upgrading Bonobo solved that, even though it was the same version of git. A freshly cloned repo yesterday was working but today it has the same problem. </p>
  
  <p>Of interest may be that we have a lot of dll's and pdb's in it. It's been in use for a year now and was imported from an SVN repo with git-svn.</p>
  
  <p>This is the trace</p>
  
  <pre><code>$ GIT_TRACE=1 git fetch -v
  trace: built-in: git 'fetch' '-v'
  trace: run_command: 'git-remote-https' 'origin' 'https://xxx
  /yyy.git'
  trace: run_command: '"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore
  /git-credential-winstore.exe" get'
  trace: run_command: '"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore
  /git-credential-winstore.exe" store'
  trace: run_command: 'rev-list' '--objects' '--stdin' '--not' '--all' '--quiet'
  trace: run_command: 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--in
  clude-tag' '--thin' 'https://xxx/yyy.git/'
  trace: built-in: git 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--i
  nclude-tag' '--thin' 'https://xxx/yyy.git/'
  POST git-upload-pack (gzip 2057 to 1096 bytes)
  POST git-upload-pack (gzip 2307 to 1222 bytes)
  POST git-upload-pack (gzip 3657 to 1914 bytes)
  POST git-upload-pack (gzip 6207 to 3192 bytes)
  POST git-upload-pack (gzip 12607 to 6374 bytes)
  </code></pre>
  
  <p>Googling shows some people had this problem but nothing mentioned (upgrade bonobo, etc) worked.</p>