git push fatal: unable to create thread: Resource temporarily unavailable

后端 未结 4 492
悲&欢浪女
悲&欢浪女 2020-12-12 20:36

I\'m new to git. I\'m want to push a large commit to a remote server but the problem is when I use

git push origin master

it return the err

4条回答
  •  情深已故
    2020-12-12 21:12

    In shared hosting we have limited cpu resources mostly 1 cpu so multi-threading does not work very well there. This error is due to limited cpu resource actually.

    Just this one git setting is enough to resolve this.

    git config --global pack.threads "1"
    

    This is limiting git to create only one thread.

提交回复
热议问题