Skip to content
Snippets Groups Projects
Commit 2e4461cf5100 authored by Matthew Badeau's avatar Matthew Badeau
Browse files

Add NGINX troubleshooting info

parent 9284c38391a3
No related branches found
No related tags found
1 merge request!97Merged upstream at the point where the `embedded` database appears
......@@ -774,3 +774,21 @@
```shell
sudo systemctl restart nginx
```
### GitLab is presenting 502 errors and `worker_connections are not enough` in logs
If you get a `worker_connections are not enough` error in the logs, configure the NGINX worker connections to a higher value:
1. Edit `/etc/gitlab/gitlab.rb`:
```ruby
gitlab['nginx']['worker_connections'] = 10240
```
1. Reconfigure GitLab:
```shell
sudo gitlab-ctl reconfigure
```
The default value is [10240 connections](https://gitlab.com/gitlab-org/omnibus-gitlab/-/blob/86f98401113eb843658b63d45d58be8b706216f3/files/gitlab-cookbooks/gitlab/attributes/default.rb#L750).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment