我正在通过 Nginx 运行 GitLab 6.0.0 并且可以分叉小型存储库,但是当我尝试分叉一个大型存储库(2GB)时,我在大约一分钟后看到“ 502 Bad Gateway ”页面。
/var/log/nginx/gitlab_error.log
显示:
2013/08/29 12:21:33 [error] 25098#0: *221 upstream prematurely closed connection while reading response header from upstream,
client: 12.34.56.78,
server: myserver,
request: "POST /mygroup/myproject/fork HTTP/1.1",
upstream: "http://unix:/home/git/gitlab/tmp/sockets/gitlab.socket:/mygroup/myproject/fork",
host: "myserver",
referrer: "http://myserver/mygroup/myproject/fork"