php-cgi容易崩溃,有木有???!!!!!
rt,我用的是linux下nginx+php 5.4nginx 和 php都是自己从源代码编译安装的 用的php自带的php-cgi,测试时发现如果访问频繁的话,php-cgi就直接崩溃了!大家是怎么解决的?
当初以为只有windows才出现这种问题,没想到linux下也有! 很少很少很少, 少之又少. 看日志,有报错提示的 回复 3# pix77
2013/03/01 12:00:39 168#3920: *559 upstream prematurely closed connection while reading response header from upstream, client: 127.0.0.1, server: 2013/03/01 12:00:39 168#3920: *565 upstream prematurely closed connection while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "POST /subweb/device-query.php?mod=all HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost", referrer: "http://localhost/subweb/device.php"
2013/03/01 12:01:39 168#3920: *567 upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "POST /subweb/device-query.php?mod=all HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost", referrer: "http://localhost/subweb/device.php"
日志就是这样 只知道php-cgi挂了 嗯,你可以google,一个一个测试:mrgreen:
页:
[1]