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

Why phpfpm_total_processes is a dynamically changing value #322

Open
flylan opened this issue Sep 22, 2023 · 0 comments
Open

Why phpfpm_total_processes is a dynamically changing value #322

flylan opened this issue Sep 22, 2023 · 0 comments

Comments

@flylan
Copy link

flylan commented Sep 22, 2023

I often configure PHP fpm in static mode

pm.max_children=80
pm.start_servers=40
pm.min_spare_servers=20
pm.max_spare_servers=40
pm.max_requests=2000

When the number of active processes does not reach the maximum value, the total number of processes is normal, always at 80. However, once the number of active processes reaches the maximum value, the total number of processes will become a dynamic value, which will be consistent with the number of active processes

Why is the total process not always equal to the value of pm.max_children but a dynamic value?

image

image

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

No branches or pull requests

1 participant