Configure PHP-FPM processes
It is possible to configure PHP-FPM processes per application. If you have a lot of applications, this may result in excessive CPU usage.
You can configure your application’s PHP-FPM processes to start automatically when needed. Add this option to the /opt/bitnami/apps/APPNAME/conf/pfp-fpm/pool.conf file:
You can also reduce the number of PHP-FPM processes per application by modifying the files below.
If you configured the processes to start dynamically, modify the /opt/bitnami/php/etc/common-dynamic.conf as below:
pm=dynamic pm.max_children=5 pm.start_servers=2 pm.min_spare_servers=1 pm.max_spare_servers=3
If you configured the processes to start on demand, modify the /opt/bitnami/php/etc/common-ondemand.conf as below:
pm=ondemand pm.max_children=5 pm.start_servers=2 pm.min_spare_servers=1 pm.max_spare_servers=3