为高stream量负载configurationNginx + PHP-FPM
我的nginx在浏览器中不断崩溃并报告“坏门户”错误。 Nginx和PHP-FPM不会预先configuration来处理大stream量负载。 为了确保我的网站在停留时间不会太长,我必须在每个小时将systemctl restart php7.0-fpm cron作业。 让我们来谈谈它。 我从/var/log/php7.0-fpm.log得到一些错误: [20-Sep-2017 12:08:21] NOTICE: [pool web3] child 3495 started [20-Sep-2017 12:08:21] NOTICE: [pool web3] child 2642 exited with code 0 after 499.814492 seconds from start [20-Sep-2017 12:32:28] WARNING: [pool web3] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 7 idle, and […]