Skip to content

Set the net.core.somaxconn sysctl to 1024

The default value is 128 but this can lead to NGINX 'Resource temporarily unavailable' errors. According to @jnijhof there is no danger in raising this value to 1024 on all GitLab installations. This tweak reduced the error rates on gitlab.com.

cc @marin