当前位置:Gxlcms > 数据库问题 > Gitlab服务不能启动postgresql

Gitlab服务不能启动postgresql

时间:2021-07-01 10:21:17 帮助过:6人阅读

$ gitlab-ctl status warning: gitlab-workhorse: unable to open supervise/ok: access denied warning: logrotate: unable to open supervise/ok: access denied warning: nginx: unable to open supervise/ok: access denied warning: redis: unable to open supervise/ok: access denied warning: sidekiq: unable to open supervise/ok: access denied warning: unicorn: unable to open supervise/ok: access denied

发现没有postgresql项

 

2、查看postgresql报错

[root@localhost ~]# su - gitlab-psql
-sh-4.1$ cat /var/log/gitlab/postgresql/current
postgresql启动异常,To reduce the request size (currently 2123759616 bytes), reduce PostgreSQLs shared memory usage, perhaps by reducing shared_buffers
显示共享内存不足

3、调整postgresql配置文件

/var/opt/gitlab/postgresql/data/postgresql.conf

修改:shared_buffers 为合适的大小:
shared_buffers = 1024 # min 128kB

4、重启gitlab

gitlab-ctl start

Gitlab服务不能启动postgresql

标签:style   res   col   roo   重启   显示   调整   postgres   span   

人气教程排行