gitlab访问错误Whoops, GitLab is taking too much time to respond

    xiaoxiao2023-11-18  137

    一、异常现象:

    gitlab访问错误Whoops, GitLab is taking too much time to respond

    二、问题定位

    问题定位8080端口被占用:

    三、解决方案

    解决方案01:

    将占用的8080端口的进程杀死或者卸载占用8080端口的软件修改正在占用8080端口程序的端口运行重新启动gitlab

    解决方案02:

    将external_url添加一个未被使用的端口 external_url 'http://192.168.45.146 修改为没有使用的端口即可: external_url 'http://192.168.45.146:8899'

    将下面这3行打开注释 默认注释:

    unicorn['port'] = 8088 postgresql['shared_buffers'] = "256MB" postgresql['max_connections'] = 200 重新启动gitlab,即可

    gitlab常用命令:

    命令功能执行命令重启配置,并启动gitlab服务sudo gitlab-ctl reconfigure启动所有 gitlabsudo gitlab-ctl start重新启动GitLabsudo gitlab-ctl restart停止所有 gitlabsudo gitlab-ctl stop查看服务状态sudo gitlab-ctl status查看Gitlab日志sudo gitlab-ctl tail修改默认的配置文件sudo vim /etc/gitlab/gitlab.rb检查gitlabgitlab-rake gitlab:check SANITIZE=true --trace

    想学习更多微服务、分布式、中间件、数据库、项目快速构建等系列技术 请访问Gblfy主页:https://blog.csdn.net/weixin_40816738 让我们一起进步!!!

    最新回复(0)