https://www.cnblogs.com/feng18/p/5148985.html
通常的排查方法如下:
1、查看php fastcgi的進程數(max_children值)
# netstat -anop | grep php-cgi | wc -l
# netstat -anpo | grep php-fpm | wc -l
假如顯示是5
2、查看當前進程
# ps aux | grep php-fpm 觀察fastcgi/php-fpm進程數,假如使用的進程數等於或高於5個,說明需要增加。
3、調整/usr/local/php/etc/php-fpm.conf 的相關設置
pm.max_children = 5
request_terminate_timeout = 60