nginx php fpm 多进程,Nginx+php-fpm无法支撑大流量的并发访问?

统计服务器,无法支撑大流量的并发访问,导致php统计程序无法运行。

现在加大pm.max_children可以访问一会,但是php-fpm进程会越来越多,直到内存耗尽。

求解决思路。

Nginx错误日志

connect() failed (110: Connection timed out) while connecting to upstream

php-fpm日志

[05-Jul-2013 02:07:14] NOTICE: [pool www] child 1389 exited with code 0 after 31650.855799 seconds from start

[05-Jul-2013 02:07:14] NOTICE: [pool www] child 1778 started

[05-Jul-2013 02:08:53] NOTICE: [pool www] child 1382 exited with code 0 after 31750.211689 seconds from start

[05-Jul-2013 02:08:53] NOTICE: [pool www] child 1779 started

[05-Jul-2013 02:10:33] NOTICE: [pool www] child 1394 exited with code 0 after 31849.875417 seconds from start

[05-Jul-2013 02:10:33] NOTICE: [pool www] child 1794 started

[05-Jul-2013 02:26:55] NOTICE: [pool www] child 1391 exited with code 0 after 32831.675556 seconds from start

[05-Jul-2013 02:26:55] NOTICE: [pool www] child 1799 started

[05-Jul-2013 02:58:17] NOTICE: [pool www] child 1372 exited with code 0 after 34714.447165 seconds from start

[05-Jul-2013 02:58:17] NOTICE: [pool www] child 1815 started

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值