I already tried to research via google and in other posts but couldn't find a solution that works for me. I'm connected to a server via SSH and try to clone an existing git repo via git clone https://github.com/myrepo
to this server. Unfortunately this ends in
error: index-pack died of signal 9
fatal: index-pack failed
The whole message is:
remote: Enumerating objects: 20132, done.
remote: Counting objects: 100% (20132/20132), done.
remote: Compressing objects: 100% (18700/18700), done.
remote: Total 20132 (delta 1176), reused 20129 (delta 1174), pack-reused 0
Receiving objects: 100% (20132/20132), 826.83 MiB | 18.76 MiB/s, done.
error: index-pack died of signal 9
fatal: index-pack failed
I read it might be a storage issue but couldnt come up with any working solution. Even adjusting the memory size didn't work. I used these commands
git config pack.windowMemory 10m
git config pack.packSizeLimit 20m
But still get the same error. I also tried a shallow clone with git clone --depth 1 https://github.com/myrepo
. It results in the same error.
My repo is stored on github. Pulling and Pushing localy works without any issues (I have another copy of it on my local system in xampp). I also tried to clone it on my local machine - this works without any issue. Just as soon as I'm connected to the server via ssh it doesn't work. The git version on the server is 2.17.1
Any suggestions where the problem is? I tried to trace the error with GIT_TRACE=1 but couldn't get any more information