Git indexing fails due to bad pack header

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

Fisheye fails to index a Git repository and the following appears in the atlassian-fisheye.log:

2013-06-10 13:44:47,391 INFO [IncrementalPinger1 ] fisheye OneOffPingRequest-doRequest - Exception during FishEye Incremental Indexing of GITREPO: Unable to fetch from remote repository: file:///mnt/git/GITREPO.git
 - [error: pack-objects died of signal 7, error: git upload-pack: git-pack-objects died with error., fatal: git upload-pack: aborting due to possible repository corruption on the remote side., remote: aborting due to possible repository
corruption on the remote side., fatal: protocol error: bad pack header]

原因

This often indicates memory problems on the server.

ソリューション

Log in to the server as the SSH user used to connect to the repo and run the commands below:

git config --global pack.windowMemory "100m"
git config --global pack.packSizeLimit "100m"
git config --global pack.threads "1"

最終更新日: 2021 年 10 月 26 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.