pm.max_children is a php-fpm configuration that determines the maximum number of child workers the php-fpm process can spin up. In our production environment, we are frequently seeing logs indicating that the maximum number of children (5) has been reached. Ideally, this is a value provided from docker compose, allowing it to be easily configured for different instances: local dev, QA, and prod. In the php-fpm application container, these configs are currently located at /usr/local/etc/php-fpm.d/ in the default www.conf configuration file.
pm.max_children
is aphp-fpm
configuration that determines the maximum number of child workers thephp-fpm
process can spin up. In our production environment, we are frequently seeing logs indicating that the maximum number of children (5) has been reached. Ideally, this is a value provided from docker compose, allowing it to be easily configured for different instances: local dev, QA, and prod. In thephp-fpm
application container, these configs are currently located at/usr/local/etc/php-fpm.d/
in the defaultwww.conf
configuration file.