Gitlab – Postgresql在g​​itlabctl-reconfigure之后不再工作了

我刚安装了一个全新的Gitlab服务器。 我第一次做gitlab-ctl重新configuration它就像一个魅力。

之后,我没有改变任何东西,但再次运行gitlab-ctl reconfigure。 这是问题开始的地方,我看到很多连接到pgsql的失败尝试。

[execute] psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/opt/gitlab/postgresql/.s.PGSQL.5432"? 

所以我尝试了gitlab-ctl stop和gitlab-ctl start,这说明它启动了postgresql。

 ok: run: postgresql: (pid 11766) 0s 

我该如何解决这个问题? 我最终得到了一个502错误…“哎呀,GitLab花了太多的时间来回应。

问候,

我迷路了,这是一个只有gitlab和nagios,munin,rsync的jessie。

我将kernel.shmmax更改为1024Mb,现在可以工作。

https://gitlab.com/gitlab-org/gitlab-ce/issues/1405 – >同样的问题