RepositoryUpdateMirrorWorker::UpdateError: Gitlab::Git::CommandError: 8:No free threads in thread pool
https://sentry.gitlab.net/gitlab/gitlabcom/issues/557554/
GRPC::ResourceExhausted: 8:No free threads in thread pool
grpc/generic/active_call.rb:31:in `check_status'
fail GRPC::BadStatus.new_status_exception(
grpc/generic/active_call.rb:181:in `attach_status_results_and_complete_call'
recv_status_batch_result.check_status
grpc/generic/active_call.rb:377:in `request_response'
attach_status_results_and_complete_call(batch_result)
grpc/generic/client_stub.rb:178:in `block in request_response'
c.request_response(req, metadata: metadata)
grpc/generic/interceptors.rb:170:in `intercept!'
return yield if @interceptors.none?
...
(98 additional frame(s) were not displayed)
Gitlab::Git::CommandError: 8:No free threads in thread pool
gitlab/git/wraps_gitaly_errors.rb:11:in `rescue in wrapped_gitaly_errors'
raise Gitlab::Git::CommandError.new(e)
gitlab/git/wraps_gitaly_errors.rb:4:in `wrapped_gitaly_errors'
def wrapped_gitaly_errors(&block)
gitlab/git/repository.rb:212:in `delete_all_refs_except'
wrapped_gitaly_errors do
repository.rb:486:in `method_missing'
raw_repository.__send__(msg, *args, &block) # rubocop:disable GitlabSecurity/PublicSend
gitlab/metrics/instrumentation.rb:159:in `block in method_missing'
.measure { super }
...
(89 additional frame(s) were not displayed)
RepositoryUpdateMirrorWorker::UpdateError: Gitlab::Git::CommandError: 8:No free threads in thread pool
repository_update_mirror_worker.rb:34:in `rescue in perform'
raise UpdateError, "#{ex.class}: #{ex.message}"
repository_update_mirror_worker.rb:39:in `perform'
end
sidekiq/processor.rb:185:in `execute_job'
worker.perform(*cloned_args)
sidekiq/processor.rb:167:in `block (2 levels) in process'
execute_job(worker, cloned(job_hash['args']))
sidekiq/middleware/chain.rb:128:in `block in invoke'
yield
...
(35 additional frame(s) were not displayed)
Gitlab::Git::CommandError: 8:No free threads in thread pool