git.themanaworld.org: constant 500 and 502 errors / IOError (unmapped file)
Approximately one in five requests work, the others error out as 500 and 502.
From production.log
:
...
Completed 500 Internal Server Error in 192ms (ActiveRecord: 57.9ms | Elasticsearch: 0.0ms | Allocations: 55147)
IOError (unmapped file):
lib/gitlab/metrics/subscribers/rails_cache.rb:62:in `observe'
lib/gitlab/metrics/subscribers/rails_cache.rb:12:in `cache_read' lib/feature.rb:188:in `current_feature_value'
lib/feature.rb:88:in `block in enabled?' lib/feature.rb:194:in `with_feature'
lib/feature.rb:87:in `enabled?' app/models/concerns/routable.rb:118:in `full_path'
lib/gitlab/repo_path.rb:69:in `redirected?' lib/gitlab/repo_path.rb:31:in `block in parse'
lib/gitlab/repo_path.rb:19:in `each'
lib/gitlab/repo_path.rb:19:in `parse'
app/controllers/repositories/git_http_client_controller.rb:103:in `parse_repo_path'
See here: https://gitlab.com/gitlab-org/gitlab/-/issues/348429
Inside the container:
shm 64M 56M 8.2M 88% /dev/shm
We need to increase this value. GitLab suggests minimum of 256MB.