GitLab is taking too much time

can you check
it was working fine few weeks back and nowit isnot working


gitlab-ctl status

and make sure all services are running. Also let us know what version of Gitlab. Maybe you are using one that was compromised by the RCE vulnerability and it doesn’t work because of cryptominer using all your cpu/ram resources and killing Gitlab.

Check your logs files for errors as well.

Thank you

Below is the screenshot of the confuguratin

Below is the output of gitlab ctl statsus

Can you provide me the solutions to fix it

Please do not post screenshots for console commands, it makes it really difficult for us to read. Therefore connect to the server using SSH, and then copy and paste the text, and format like this:

gitlab-ctl status
run: gitaly: (pid 26787) 10260s; run: log: (pid 28839) 6799690s
run: gitlab-workhorse: (pid 26693) 10266s; run: log: (pid 28837) 6799690s
run: logrotate: (pid 22709) 3065s; run: log: (pid 28829) 6799690s
run: nginx: (pid 26721) 10265s; run: log: (pid 28833) 6799690s
run: postgresql: (pid 23544) 3197214s; run: log: (pid 28835) 6799690s
run: puma: (pid 26746) 10264s; run: log: (pid 28831) 6799690s
run: redis: (pid 23563) 3197212s; run: log: (pid 28840) 6799690s
run: sidekiq: (pid 26753) 10264s; run: log: (pid 28827) 6799690s

Since your VM seems to show CentOS 6, then we need to verify that. Please log on to the server via SSH, and copy paste the results from this command:

cat /etc/redhat-release


cat /etc/centos-release

if lsb_release is installed then you can also do this:

lsb_release -a

If you are still running CentOS 6, then your problems are most definitely a compromised server. Which means your only way to fix it will be to upgrade it to the latest version of Gitlab, which you will not be able to do on CentOS 6.

Git version is not what we need, we need the version of Gitlab, so:

rpm -qa | grep -i gitlab

and copy/paste the results. Either way, fixing this will require you to read the Gitlab documentation for backup/restore: Back up and restore GitLab | GitLab and making sure you also make a backup of /etc/gitlab/gitlab.rb and /etc/gitlab/gitlab-secrets.json. You are also going to have to then create a new server with a supported distribution. Right now, CentOS 7 would be your best bet because it’s supported until June 2024. CentOS 8 no longer is supported - yes it is newer, but CentOS moved to Stream. This is why CentOS 7 is only supported longer than CentOS 8.

1 Like

I am back again with the same issue not rruning since few weeks

it seems the local machine git is having the issue