【问题标题】:Gerrit clone very slowGerrit 克隆很慢
【发布时间】:2015-12-06 19:58:16
【问题描述】:

我有 2 台相同的服务器,其中一台使用 GitHub Enterprise (2.2),另一台使用 Gerrit (2.11.3)。当我尝试从 GitHub 机器克隆存储库时,大约需要 15 分钟才能在 8 台机器上并行克隆它。从 Gerrit 克隆相同的存储库需要 3 个多小时才能计算远程端的对象!在 Github 上,这一步几乎是即时的……我做错了什么?我已按照以下步骤:https://gerrit-documentation.storage.googleapis.com/Documentation/2.11.3/install.html 安装 Gerrit。

【问题讨论】:

  • 为什么是负面的?我也遇到过这个问题,我发现“数物寻源”这两个步骤花费了两个多的时间。使用垃圾回收(ssh -p your_site gerrit gc --all)解决了这个问题。

标签: git github clone gerrit


【解决方案1】:

请参阅以下页面以获取一些如何提高 Gerrit 性能的提示: https://code.google.com/p/gerrit/wiki/Scaling

我认为您可以从添加更多内存开始。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-05-16
    • 2019-03-02
    • 2015-09-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-10-24
    • 2018-02-13
    相关资源
    最近更新 更多