zoukankan      html  css  js  c++  java
  • gitlab访问错误Whoops, GitLab is taking too much time to respond

    一、异常现象:
    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
    启动所有 gitlab sudo gitlab-ctl start
    重新启动GitLab sudo gitlab-ctl restart
    停止所有 gitlab sudo gitlab-ctl stop
    查看服务状态 sudo gitlab-ctl status
    查看Gitlab日志 sudo gitlab-ctl tail
    修改默认的配置文件 sudo vim /etc/gitlab/gitlab.rb
    检查gitlab gitlab-rake gitlab:check SANITIZE=true --trace

  • 相关阅读:
    C#小数点位数处理方法
    C#获取硬盘空间信息
    Linux双网卡绑定实现负载均衡
    CentOS、Ubuntu配置网卡子接口
    CentOS7修改网卡名称,禁用ipv6
    centos命令自动补全增强
    使用批处理文件访问ORACLE数据库
    Mac 常用终端命令
    常用正则表达式
    pickle 模块
  • 原文地址:https://www.cnblogs.com/mufeng07/p/12206356.html
Copyright © 2011-2022 走看看