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

Add max_conns limit to nginx config #5191

Merged
merged 1 commit into from Jun 6, 2023
Merged

Add max_conns limit to nginx config #5191

merged 1 commit into from Jun 6, 2023

Conversation

kraih
Copy link
Member

@kraih kraih commented Jun 6, 2023

Another lesson learned. Nginx will happily kill the webui by forwarding many more requests than it can handle, resulting in batches of 502 Bad Gateway errors. Setting max_conns to the exact number of connections the app server can handle fixes that problem. This is especially important when the app server runs in prefork mode with a connection limit of one per worker, as is the case for O3.

Progress: https://progress.opensuse.org/issues/129490

Another lesson learned. Nginx will happily kill the webui by forwarding
many more requests than it can handle, resulting in batches of 502 Bad
Gateway errors. Setting `max_conns` to the exact number of connections
the app server can handle fixes that problem. This is especially
important when the app server runs in prefork mode with a connection
limit of one per worker, as is the case for O3.

Progress: https://progress.opensuse.org/issues/129490
@mergify mergify bot merged commit cad09dc into master Jun 6, 2023
40 checks passed
@mergify mergify bot deleted the k/nginx_max_conns branch June 6, 2023 15:55
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.

None yet

3 participants