I have a real head scratcher with one site on a server affecting others in separate php-fpm pools. I thought the idea was that php-fpm pools gave isolation to stop (reduce) this from happening.
We have a typical LEMP server (Ubuntu 16.04 running NGINX with both php-fpm 7.0 and 5.6. MySQL is on another box.) running a number of sites of various sizes.
To clarify, this does not appear to be a server resource issue; CPU, memory, inodes, open files, networking, we have checked everything we can think of and still have plenty of headroom on the server.
The pools however are limited in resource...
/etc/php/5.6/fpm/pool.d/siteone.conf
[siteone]
user = siteone
group = siteone
listen = /var/run/php5.6-fpm-siteone.sock
listen.owner = www-data
listen.group = www-data
pm = dynamic
pm.max_children = 25
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
php_admin_value[error_log] = /var/log/php-fpm/siteone/siteone-php-fpm.log
php_value[newrelic.appname] = "siteone - LIVE"
php_admin_value[upload_max_filesize] = 5M
request_terminate_timeout = 5m
pm.max_requests = 5000
Yet when one site hits maxchildren all the sites start timing out.
Any advice please.
Thank you in advance.