I'm trying to enable dynamic process management for php-fpm v7.3. Here's my php-pm.ini
[www] pm = dynamic pm.max_children = 25 pm.start_servers = 10 pm.min_spare_servers = 5 pm.max_spare_servers = 20 pm.max_requests = 498
The problem is that I can't seem to confirm my fpm is seeing the changes. I can see that it's parsing the ini file:
$ docker-compose exec web php -i | grep "pm." Additional .ini files parsed => /usr/local/etc/php/conf.d/docker-php-ext-gd.ini, /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini, /usr/local/etc/php/conf.d/docker-php-ext-pcntl.ini, /usr/local/etc/php/conf.d/docker-php-ext-pdo_mysql.ini, /usr/local/etc/php/conf.d/docker-php-ext-sodium.ini, /usr/local/etc/php/conf.d/php-pm.ini
Looking at the
phpinfo() service by fpm I don't see any of the
pm. settings at all. How can I verify these settings are being picked up? And if they are but wouldn't show here, how can I prove it?