VPS侦探论坛

 找回密码
 注册
查看: 5495|回复: 9

这个是什么问题,怎么解决 recv() failed

[复制链接]
发表于 2016-7-4 16:41:41 | 显示全部楼层 |阅读模式

[error] 3285#0: *274 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 119.33.20.230, server: , request: "GET /config/issue/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "120.25.122.190:4001"

[ 本帖最后由 lwj1435 于 2016-7-4 16:51 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-7-4 21:15:55 | 显示全部楼层


可能php-fpm挂掉了,你可以看一下php-fpm的日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-7-5 09:01:05 | 显示全部楼层

只有一个页面这样,其他都没问题~重启了服务器就这样了~ 好奇怪
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2016-7-5 09:04:10 | 显示全部楼层



[03-Jul-2016 03:38:01] NOTICE: error log file re-opened
[04-Jul-2016 16:08:52] NOTICE: Terminating ...
[04-Jul-2016 16:08:52] NOTICE: exiting, bye-bye!
[04-Jul-2016 16:11:41] NOTICE: fpm is running, pid 891
[04-Jul-2016 16:11:41] NOTICE: ready to handle connections
[04-Jul-2016 16:11:41] NOTICE: systemd monitor interval set to 10000ms
[04-Jul-2016 16:42:27] NOTICE: Terminating ...
[04-Jul-2016 16:42:27] NOTICE: exiting, bye-bye!
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-7-5 09:04:22 | 显示全部楼层

这里是日志

军哥运维代购:http://shop63846532.taobao.com/

发表于 2016-7-5 10:11:43 | 显示全部楼层

你可以开慢日志和错误日志具体判断可能的原因
 楼主| 发表于 2016-7-5 15:11:59 | 显示全部楼层

nginx的日志里面就是这一行*9841 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 119.33.20.230, server: , request: "GET /config/cache/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "120.25.127.191:5001"
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2016-7-5 15:12:14 | 显示全部楼层

一直重复
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-7-5 15:22:12 | 显示全部楼层


发现了这个警告: systemd monitor interval set to 10000ms怎么把它设置为永不超时

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2016-7-6 14:45:29 | 显示全部楼层



php和nginx的慢日志和错误日志么?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-29 09:30 , Processed in 0.028737 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表