我有Nginx PHP5-fpm.每小时几次我的网站卡住了,在日志文件中我看到以下内容:
WARNING: [pool www] server reached pm.max_children setting (5),consider raising it.
/etc/PHP5/fpm/pool.d/www.conf文件包含以下配置:
pm = dynamic pm.max_children = 5 pm.start_servers = 2 pm.min_spare_servers = 1 pm.max_spare_servers = 3
服务器:
AMD Opteron™3280,Octo-Core,8x 2.4 GHz,16 GB DIMM(DDR3).