php nginx 长连接超时,nginx连接超时和客户端关闭连接问题

我在AWS&运行时运行这个nginx服务器直到最近几个用户开始抱怨网站没有打开,直到他们进行了大约10次尝试访问它,它一切正常.

我从来没有能够在我身边重复这个问题.我正在使用google的dns,即8.8.8.8&当我为其中一个用户更改了相同内容时,该网站运行正常.现在这可能是原因,或者这也可能只是一个巧合.

我在错误日志中找到了这个 –

2014/05/29 13:46:15 [info] 6940#0: *150649 client timed out (110: Connection timed out) while waiting for request, client: xx.xxx.xxx.xx, server: 0.0.0.0:80

2014/05/29 13:46:20 [info] 6940#0: *150670 client closed connection while waiting for request, client: xx.xxx.xxx.xx, server: 0.0.0.0:80

2014/05/29 13:46:20 [info] 6940#0: *150653 client closed connection while waiting for request, client: xx.xxx.xxx.xx, server: 0.0.0.0:80

2014/05/29 13:46:20 [info] 6940#0: *150652 client closed connection while waiting for request, client: xx.xxx.xxx.xx, server: 0.0.0.0:80

甚至有些地方 –

2014/05/29 13:46:53 [info] 6940#0: *150665 client closed connection while waiting for request, client: xx.xxx.xxx.xx, server: 0.0.0.0:80

2014/05/29 13:46:53 [info] 6940#0: *150660 client xx.xxx.xxx.xx closed keepalive connection

注意 – 为客户IP放置了xx.xxx.xxx.xx

这是nginx配置 –

server {

listen 80;

server_name somedomain.com www.somedomain.com;

#charset koi8-r;

#access_log /var/log/nginx/log/host.access.log main;

root /var/www/somedomain/current/app/webroot;

index index.php index.html index.htm;

... couple of location rules ...

}

我真的很感激任何帮助.

谢谢

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值