当我尝试克隆特定存储库时,显示以下错误消息。仅当克隆该存储库时才会发生这种情况。
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 http://man7.org/linux/man-pages/man7/signal.7.html,信号25是SIGXFSZ
,这意味着“超出文件大小限制”。man 2 setrlimit http://man7.org/linux/man-pages/man2/setrlimit.2.html说:
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
命令查看并可能更改此限制。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)