免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4062 | 回复: 4
打印 上一主题 下一主题

php-cgi容易崩溃,有木有???!!!!! [复制链接]

论坛徽章:
6
CU大牛徽章
日期:2013-05-20 10:43:41IT运维版块每日发帖之星
日期:2016-07-29 06:20:00IT运维版块每日发帖之星
日期:2016-01-27 06:20:00CU大牛徽章
日期:2013-05-20 10:44:16CU大牛徽章
日期:2013-05-20 10:44:0615-16赛季CBA联赛之广东
日期:2018-03-09 11:17:08
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-03-07 16:41 |只看该作者 |倒序浏览
rt,我用的是linux下nginx+php 5.4  
nginx 和 php都是自己从源代码编译安装的 用的php自带的php-cgi,测试时发现如果访问频繁的话,php-cgi就直接崩溃了!大家是怎么解决的?
当初以为只有windows才出现这种问题,没想到linux下也有!

论坛徽章:
4
水瓶座
日期:2013-09-06 12:27:30摩羯座
日期:2013-09-28 14:07:46处女座
日期:2013-10-24 14:25:01酉鸡
日期:2014-04-07 11:54:15
2 [报告]
发表于 2013-03-07 16:53 |只看该作者
很少很少很少, 少之又少.

论坛徽章:
0
3 [报告]
发表于 2013-03-08 13:46 |只看该作者
看日志,有报错提示的

论坛徽章:
6
CU大牛徽章
日期:2013-05-20 10:43:41IT运维版块每日发帖之星
日期:2016-07-29 06:20:00IT运维版块每日发帖之星
日期:2016-01-27 06:20:00CU大牛徽章
日期:2013-05-20 10:44:16CU大牛徽章
日期:2013-05-20 10:44:0615-16赛季CBA联赛之广东
日期:2018-03-09 11:17:08
4 [报告]
发表于 2013-03-08 14:07 |只看该作者
回复 3# pix77
2013/03/01 12:00:39 [error] 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 [error] 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 [error] 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挂了

论坛徽章:
0
5 [报告]
发表于 2013-03-08 14:32 |只看该作者
嗯,你可以google,一个一个测试
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP