PHP-FPM日志中出现”好像很忙碌”,您需要增加pm.start_servers,或pm.min/ max_spare_servers

PHP-FPM日志中出现”好像很忙碌”,您需要增加pm.start_servers,或pm.min/ max_spare_servers

seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 9 idle, and 71 total children

调整php-fpm.conf中的配置为:

pm = dynamic
pm.start_servers=32
pm.min_spare_servers=32
pm.max_spare_servers=1024
pm.max_requests = 102400
rlimit_files = 65535

你可能感兴趣的:(运维,Linux,nginx)