We have a client POUNDING our API. And we’re seeing issues with that. Error logs looks like this:
[13-Jul-2021 21:51:22] WARNING: [pool freshworks] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 4 total children [13-Jul-2021 21:51:23] WARNING: [pool freshworks] server reached pm.max_children setting (5), consider raising it
According to PHPINFO this is the php conf:
And that file has: include=/etc/php/7.4/fpm/pool.d/*.conf
And in both of these files: /etc/php/7.4/fpm/pool.d/www.conf /etc/php/7.4/fpm/pool.d/freshworks.conf
We’ve updated to: pm = ondemand pm.max_children = 40 pm.start_servers = 15 pm.max_spare_servers = 25 pm.max_requests = 600
We’ve restarted but the same errors persist.
What are we missing or overlooking?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!