I’ve been trying to push a new WordPress site’s codebase to my Bitbucket Git repository but it kept on failing with the following error messages:
1 2 3 4 5 6 |
Enumerating objects: 11966, done. Counting objects: 100% (11966/11966), done. Delta compression using up to 56 threads fatal: unable to create thread: Resource temporarily unavailable error: remote unpack failed: eof before pack header was fully read |
I was trying to push my codebase from my server (hosted by Namecheap) to Bitbucket.
The solution to make the push work was to enter the following through command line on my server:
1 2 3 |
git config --global pack.windowMemory "100m" git config --global pack.packSizeLimit "100m" git config --global pack.threads "1" |
Reference: git push fatal: unable to create thread: Resource temporarily unavailable