Symptom:
git push --progress -v
Pushing to git@bitbucket.org:XXX/XXX.git
Counting objects: ###, done.
Delta compression using up to 16 threads.
fatal: unable to create thread: Resource temporarily unavailable
error: pack-objects died with strange error
error: failed to push some refs to 'git@bitbucket.org:XXX/XXX.git'
What I had read suggested that this is something that can only be alleviated at the server side (and I'm using a hosted bitbucket.org Git repo). Note, this may be following a fairly substantial git commit containing 100s of files of modifications and deletions during a botched Drupal contrib modules update....
Smart man Marcus Bertrand [Atlassian] correctly pointed out that this was actually a local client (well, remote dev where I'm git-commit'ing) configuration issue. I was unable to crack the specific config to push it through (ha, get it?) but this clever workaround DID do the trick for me:
To confirm all was made aright again, I made a quick git commit, git push (voila!), git pull, git goin' goin', git gone!
Bronius, you can see you did in fact answer your question in the same breath with which you had asked it. To this, I dub thee a darn fool and community advocate.
Thanks @marcus from https://confluence.atlassian.com/display/BBKB/Git?focusedCommentId=335479327#comment-335479327
Thanks Bronius, your method did the trick for me too!
however was wondering if we can limit these threads while compression somehow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.
Get Certified! ✍️Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.