当我尝试克隆特定存储库时,会显示以下错误消息。这仅在克隆该存储库时发生。
remote: Enumerating objects: 991, done.
remote: Counting objects: 100% (991/991), done.
remote: Compressing objects: 100% (422/422), done.
error: index-pack died of signal 25, 60.96 MiB | 5.56 MiB/s
fatal: index-pack failed
环境:CentOS Linux 7 x86_64,可用内存1.9G左右。
我已经尝试过的,
--depth=1
;结果:成功观察
问题:
index-pack died of signal 25
意思是?我在哪里可以找到它的文档?这与 Git 本身或操作系统有关吗? 我已经搜索过类似的问题,这些问题可能有
index-pack died of signal 25
但找不到解决方案。
最佳答案
根据 man 7 signal
, 信号 25 是 SIGXFSZ
, 意思是“超出文件大小限制”。 man 2 setrlimit
说这个:
RLIMIT_FSIZE
This is the maximum size in bytes of files that the process
may create. Attempts to extend a file beyond this limit
result in delivery of a SIGXFSZ signal. By default, this sig‐
nal terminates a process, but a process can catch this signal
instead, in which case the relevant system call (e.g.,
write(2), truncate(2)) fails with the error EFBIG.
您可以使用
ulimit
命令查看并可能更改此限制。
关于Git 克隆 : index-pack died of signal 25,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61400182/