Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git push - fatal: write error: Bad file descriptor

Tags:

git

push

I'm new to Git, so please forgive me if this is a stupid question.

On my initial push to GitHub, using git push origin master

I'm getting the following error(s):

Counting objects: 1499, done. Delta compression using up to 16 threads.
Compressing objects: 100% (1455/1455), done. 
error: pack-objects died of signal 923 MiB | 9.10 MiB/s    fatal:
The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly
fatal: write error: Bad file descriptor

Am I missing something?

like image 435
jnstn Avatar asked Mar 10 '16 09:03

jnstn


2 Answers

When I got this same error, the following command fixed this issue git config --global pack.windowMemory "32m".

like image 64
Deb Avatar answered Sep 23 '22 04:09

Deb


I was getting same error few days back what worked for me was that default file post size for Git has been exceeded.So navigate to repo and run this command to increase the buffer to 500MB after navigating to the repository git config http.postBuffer 524288000

like image 39
Aamir Avatar answered Sep 20 '22 04:09

Aamir