Git indexing fails due to bad pack header

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

症状

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"
更新日時: September 25, 2025

さらにヘルプが必要ですか?

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