Search code examples
nginxgitlabconnection-timeoutgitlab-omnibus

502 Gitlab is taking too much time to respond


After taking gitlab backup everyday gitlab is throwing 502 error. I saw nginx logs but did not find that much information.

enter image description here

After gitlab-ctl restart it starts working again.

System Configurations: OS : Ubuntu 16.04 LTS 4 GB Ram 200 GB Disk Space

can anyone give permanent solution for it.


Solution

  • After long search i got something about it. After taking backup my gitlab-workhorse is getting ideal and gitlab.socket is refusing the connection. As temporary solution i have installed a new cron job for restarting gitlab service after the complpetion of gitlab backup cronjob.