Running a web application with PHP Slim on Apache, Bitnami LAMP Stack. When my webapp is running, I'm getting near 100% cpu utilisation and running 'top' leads me to find the following issue in /opt/bitnami/php/var/log/php-fpm.log:
[20-Oct-2016 10:53:24] WARNING: [pool www] server reached max_children setting (5), consider raising it
[20-Oct-2016 16:18:20] WARNING: [pool www] server reached max_children setting (5), consider raising it
[21-Oct-2016 08:43:23] WARNING: [pool www] server reached max_children setting (5), consider raising it
I've tried googling and found resources leading me to increase the max_children in various locations, but to no avail (and thats after restarting apache). So looking at configuration specific to Bitnami https://docs.bitnami.com/1and1/components/php-fpm/
I'm finding that in both the /opt/bitnami/php/etc/common-ondemand.conf file and /opt/bitnami/php/etc/common-dynamic.conf the following:
When I look at /opt/bitnami/php/etc/php-fpm.conf, I see the following commands:
I'm really stuck as to why my max_children are not increasing from 5 to 10. Is there something else overriding this configuration, or have I modified the wrong files?