Repository->Branches 500 Error

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Summary

Hi! I have 500 error on self-hosted Gitlab instance only for one big imported repository of Linux Kernel when viewing Repository->Branches link.

Steps to reproduce

Create new project via "Import project from repository by URL", give url git://git.ti.com/glsdk/psdkla-kernel.git, wait for import to complete, then click link Repository->Branches. The answer is 500 error after about 10 seconds.

Example Project

https://gitlab.com/marten.spb/psdkla-kernel

What is the current bug behavior?

500 Error

What is the expected correct behavior?

List of repos' branches and so on.

Relevant logs and/or screenshots

Processing by Projects::BranchesController#index as HTML
  Parameters: {"namespace_id"=>"dev/sdk", "project_id"=>"psdkla-kernel"}
Completed 200 OK in 1750ms (Views: 4.9ms | ActiveRecord: 200.1ms | Elasticsearch: 0.0ms | Allocations: 334053)

But: изображение

Output of checks

This bug happens also on GitLab.com: Link https://gitlab.com/marten.spb/psdkla-kernel/-/branches gives error

Unable to load branches
The git server, Gitaly, is not available at this time. Please contact your administrator.

изображение

Results of GitLab environment info

Expand for output related to GitLab environment info
System information
System:		
Current User:	git
Using RVM:	no
Ruby Version:	2.7.2p137
Gem Version:	3.1.4
Bundler Version:2.1.4
Rake Version:	13.0.3
Redis Version:	6.0.14
Git Version:	2.32.0
Sidekiq Version:5.2.9
Go Version:	unknown

GitLab information
Version:	14.0.10
Revision:	2ed12048430
Directory:	/opt/gitlab/embedded/service/gitlab-rails
DB Adapter:	PostgreSQL
DB Version:	12.6
URL:		https://company.com
HTTP Clone URL:	https://company.com/some-group/some-project.git
SSH Clone URL:	git@company.com:some-group/some-project.git
Using LDAP:	yes
Using Omniauth:	yes
Omniauth Providers: 

GitLab Shell
Version:	13.19.1
Repository storage paths:
- default: 	/git-data/repositories
GitLab Shell path:		/opt/gitlab/embedded/service/gitlab-shell
Git:		/opt/gitlab/embedded/bin/git

Edited Jul 24, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading