Editing /etc/php/7.*/fpm/pool.d/www.conf
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 105: | Line 105: | ||
pm = dynamic | pm = dynamic | ||
− | + | <pre> | |
− | + | ; The number of child processes to be created when pm is set to 'static' and the | |
− | + | ; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'. | |
− | + | ; This value sets the limit on the number of simultaneous requests that will be | |
− | + | ; served. Equivalent to the ApacheMaxClients directive with mpm_prefork. | |
− | + | ; Equivalent to the PHP_FCGI_CHILDREN environment variable in the original PHP | |
− | + | ; CGI. The below defaults are based on a server without much resources. Don't | |
− | + | ; forget to tweak pm.* to fit your needs. | |
− | + | ; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand' | |
− | + | ; Note: This value is mandatory. | |
− | + | pm.max_children = 5 | |
; The number of child processes created on startup. | ; The number of child processes created on startup. | ||
Line 122: | Line 122: | ||
pm.start_servers = 2 | pm.start_servers = 2 | ||
− | |||
; The desired minimum number of idle server processes. | ; The desired minimum number of idle server processes. | ||
; Note: Used only when pm is set to 'dynamic' | ; Note: Used only when pm is set to 'dynamic' |
Advertising: