Skip to content

Why phpfpm_total_processes is a dynamically changing value #322

Open
@flylan

Description

@flylan

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions