git pull fails with following error
remote: Counting objects: 146, done.
remote: fatal: unable to create thread: Resource temporarily unavailable
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header
Any Ideas how to pull successfully ?
The lines beginning with
remoteare output from git running on the remote system. The error:… strongly suggests that you’ve run out of memory on the server, which can happen if you have either:
ulimitsettingA suggestion here is to limit the amount of memory that packing may take by logging into the remote system (as the user that git runs as) and doing: