Git responds with 'error in sideband demultiplexer'

前端 未结 5 1956
太阳男子
太阳男子 2020-12-09 08:47

I have two servers set up (as far as I know) exactly the same. On one of them, committing with git has always been fine, however on the second one, I\'ve started getting thi

5条回答
  •  情书的邮戳
    2020-12-09 09:29

    I get this error when git is prevented from MMAPing memory (due to a limit on the process).

    On 64-bit architecture, git will attempt to mmap 1G of memory, which is surprisingly large and may cause issues if you're using ulimit (or chpst / softlimit) to control processes.

    Removing the memory limit fixes things (for me).

提交回复
热议问题