GET 10k environment in GC hanging when attempting to fork a repo.
Summary
Additional details
From an internal discussion thread:
- I’m trying to create a new repo via importing a large external repo:
git clone --bare https://chromium.googlesource.com/chromium/src
- My clone in GitHub failed after 3 min.
- My clone in GitLab sat for 45 min before I canceled.
- Metrics dashboard: http://34.145.52.149/-/grafana/d/tVdO8YIWz/server-performance?orgId=1&refresh=10s&from=now-1h&to=now
- This is deployed via 10k architecture & GET.
- I’m using the importer in GitLab’s web UI.
- The clone command from above is what it spit out when trying to copy the repo.
- So the problem is not cloning a project via CLI. This can be done.
- The problem is GitLab hangs when trying to import a project that is large.
- If trying to fork a 30g repo that is in GitLab it hangs for days with no feedback until the user gives up.
- this is being used by a customer for a pov related to their desire to have even larger repos (50 gigs).
GitLab version: 14.2.3-ee
Related issues:
Initial questions:
- where to look. Which service? Which configs? What services are involved when we attempt to clone a repo to a new repo via the web UI?
Steps to reproduce
Example Project
What is the current bug behavior?
What is the expected correct behavior?
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
Edited by James Sandlin