【问题标题】:Git clone issue, clone fails with "Corrupted MAC on input"Git 克隆问题,克隆失败,“输入 MAC 损坏”
【发布时间】:2011-09-09 20:09:03
【问题描述】:

我正在尝试设置一台新的开发机器,但我无法克隆任何存储库。

remote: Counting objects: 99504, done.
remote: Compressing objects: 100% (22812/22812), done.
Corrupted MAC on input. (93674/99504), 169.15 MiB | 3.06 MiB/s   
Disconnecting: Packet corrupt
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

【问题讨论】:

  • 是的,试图弄清楚这意味着什么。

标签: git unfuddle


【解决方案1】:

服务器可能因负载过大而紧张。请参阅这篇文章(类似的问题,但使用 rsync 代替 git):

The problem was that the origin server had some big load on it, the server was running out of memory and it was swaping a lot (extracted from the top command)

【讨论】:

  • 谢谢,这可能是问题所在。不过仍在调查中。
【解决方案2】:

这也可能是由于硬件问题。通过绕过任何中间接口(交换机、路由器等)或尝试不同的 NIC,尝试对硬件进行故障排除。

如果是硬件问题,您在通过其他协议访问大文件时也可能会遇到问题。

【讨论】:

    【解决方案3】:

    git-daemon restart 应该提供一个可能的解决方案(它对我有用)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-06-11
      • 2011-03-08
      • 1970-01-01
      • 2016-03-23
      • 2013-10-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多