Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow customizing Nginx worker_connections #1021

Merged
merged 1 commit into from
Sep 30, 2018

Conversation

tangrufus
Copy link
Member

@tangrufus tangrufus commented Sep 30, 2018

If you need more connections than this[8000], you start optimizing your OS. That's probably the point at which you hire people who are smarter than you as this is a lot of requests.
Should be < worker_rlimit_nofile.

https://github.com/h5bp/server-configs-nginx/blob/c5c6602232e0976d9e69d69874aa84d2a2698265/nginx.conf#L19-L25

Nginx Default worker_connections: 512
Trellis / h5bp Default worker_connections: 8000
Trellis / h5bp Default worker_rlimit_nofile: 8192

@swalkinshaw
Copy link
Member

Thanks 👍

@swalkinshaw swalkinshaw merged commit 537edff into roots:master Sep 30, 2018
@tangrufus tangrufus deleted the nginx-worker-connections branch September 30, 2018 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants