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

Automatic assigment of "worker_processes" in nginx #1252

Merged
merged 5 commits into from
May 10, 2024
Merged

Conversation

rex2630
Copy link
Contributor

@rex2630 rex2630 commented May 10, 2024

It seems that "worker_processes" auto feature is currently supported by all distributions supported by froxlor. This feautre seems older than i thought, so even old version should support it.

Automatic assignment should more optimize the nginx enviroment for more than 4 cpu cores or maybe even less cores.

This change was taken from default config of each distro, i have downloaded every version from WSL and tested the nginx.

Sources of the versions for each distro:
Ubuntu: https://packages.ubuntu.com/search?keywords=nginx
Debian bullseye: https://packages.debian.org/bullseye/nginx
Debian bookworm: https://packages.debian.org/bookworm/nginx

Nginx docs reference:
https://nginx.org/en/docs/ngx_core_module.html#worker_processes

@d00p d00p merged commit cf18140 into froxlor:main May 10, 2024
9 checks passed
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

2 participants