syntex to change pm.* value in php-fpm's conf file
What is the syntax in /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml
to change the value of the following:
pm.max_children = 5
pm.max_requests = 20
pm.max_spare_servers = 5
pm.min_spare_servers = 1
pm.process_idle_timeout = 10
pm.start_servers = 0
Thank you.
-
for reference: [root@server ~]# grep pm_ /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml pm_max_children: { name: 'pm.max_children', value: 20 } [root@beeblio-webserver ~]# grep child /opt/cpanel/ea-php56/root/etc/php-fpm.d/domain.co.il.conf pm.max_children = 5 [root@beeblio-webserver ~]# /scripts/php_fpm_config --rebuild --domain=domain.co.il info [php_fpm_config] Rebuilding ... info [php_fpm_config] Dequeued the following domains info [php_fpm_config] Dequeued domain.co.il info [php_fpm_config] rebuild_files: working on domain (domain.co.il) info [php_fpm_config] Rebuilding apache conf info [php_fpm_config] Rebuild Complete [root@beeblio-webserver ~]# grep child /opt/cpanel/ea-php56/root/etc/php-fpm.d/domain.co.il.conf pm.max_children = 5
0 -
Hello @uadm, The following post provides a working example of how to modify those values globally: Thank you. 0
Please sign in to leave a comment.
Comments
2 comments