gitlab taking too much time to response

Error 502 While accessing the Gitlab On Redhat/Cent0s7

Gitlab is web based Git-repository manager that provides issue tracking and CI/CD pipelines features using free license.

Check Out : Install Gitlab

You will face this issue as of resources you using it’s not enough to handle the Gitlab. It’s need atleast 6GB RAM and 2 core CPU hardware requirement.

Once you have Enough hardware resources you won’t face this issue. If still you face this issue make sure there is only nginx running as Gitlab uses Nginx by default & uninstall if there is any other web server is running.

Gitlab-ctl stop

If issue is still persist, try to change unicorn port in /etc/gitlab/gitlab.rb file

Look for unicorn[ ‘port’ ] = 8080

Change this default port with new one and run below commands

gitlab-ctl reconfigure

gitlab-ctl restart

Now check it’s listening on new port or not by lsof -i:port

You’re done

Sponsored

LEAVE A REPLY

Please enter your comment!
Please enter your name here