1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

gitlabからリポジトリをクローンする際にタイムアウトする

Last updated at Posted at 2016-07-01

gitlabからリポジトリをtortoiseGitでクローンする際エラーが発生する事象に対処した。
gitlabはAWSのEC2にインストールしてある。


  1. エラー内容
    it.exe clone --progress -v "http://mgr.example.com/jp/test_api.git" "C:\Users\user\Desktop\git2\test_api" Cloning into 'C:\Users\user\Desktop\git2\test_api'... POST git-upload-pack (200 bytes) remote: Counting objects: 10310, done. remote: Compressing objects: 100% (8240/8240), done. fatal: early EOF fatal: The remote end hung up unexpectedly fatal: index-pack failed

  2. 原因は恐らくリポジトリサイズが大きいためタイムアウトしている。

  3. gitlab側でタイムアウト時間を長くする
    # vi /etc/gitlab/gitlab.rb
    unicorn['worker_timeout'] = 60 → 3000
    # gitlab-ctl reconfigure
    # gitlab-ctl restart

終わり

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?