How to cope with error [pool www] seems busy?

In the logs php7.2-fpm.log periodically POPs up error:
[pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 216 total children


Website with no longer boot, have to restart the server.

Server:
CPU Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40 GHz
Number : 8
Cache : 8192 KB
Speed : 3600 MHz
RAM 4 x 8192 MB


Settings www.conf have tried many times to change, at the moment are:
pm = dynamic
pm.max_children = 5000
pm.start_servers = 12
pm.min_spare_servers = 10
pm.max_spare_servers = 32
pm.max_requests = 10000


What are the settings to curb this error?
June 3rd 19 at 18:54
2 answers
June 3rd 19 at 18:56
pm.max_children = 900
pm.start_servers = 95
pm.min_spare_servers = 50
pm.max_spare_servers = 150
pm.max_requests = 600
Did not help:
[pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 319 total children
- Brady_Hess commented on June 3rd 19 at 18:59
probably cron job, some stress is - douglas_Wehner commented on June 3rd 19 at 19:02
I have simultaneously running multiple swoole servers and more than 100 workarou processing tasks. You need to reduce? - Brady_Hess commented on June 3rd 19 at 19:05
try this now
pm.max_children = 1000
pm.start_servers = 110
pm.min_spare_servers = 60
pm.max_spare_servers = 170
pm.max_requests = 700
then gradually increase if the error will repeat do not start from numbers - douglas_Wehner commented on June 3rd 19 at 19:08
And at what here CRON? He usually works through the CLI.

Workeri machining tasks, I believe, running on CLI and influence the number of occupied workarou FPM should not. If for some reason work on FPM either has to carry on the CLI, or to allocate a separate pool for them. - Justice.Nienow commented on June 3rd 19 at 19:11
well I fell out such errors when there was a very long minute Kron 4 - douglas_Wehner commented on June 3rd 19 at 19:14
But for cron you perform? PHP-CLI? - Justice.Nienow commented on June 3rd 19 at 19:17
June 3rd 19 at 18:58
you may need to increase pm.start_servers, or pm.min/max_spare_servers
Once swears, a little increased

Find more questions by tags PHPPHP-FPM