lwj1435 发表于 2016-7-4 16:41:41

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

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 编辑 ]

licess 发表于 2016-7-4 21:15:55

可能php-fpm挂掉了,你可以看一下php-fpm的日志

lwj1435 发表于 2016-7-5 09:01:05

只有一个页面这样,其他都没问题~重启了服务器就这样了~ 好奇怪

lwj1435 发表于 2016-7-5 09:04:10

NOTICE: error log file re-opened
NOTICE: Terminating ...
NOTICE: exiting, bye-bye!
NOTICE: fpm is running, pid 891
NOTICE: ready to handle connections
NOTICE: systemd monitor interval set to 10000ms
NOTICE: Terminating ...
NOTICE: exiting, bye-bye!

lwj1435 发表于 2016-7-5 09:04:22

这里是日志

licess 发表于 2016-7-5 10:11:43

你可以开慢日志和错误日志具体判断可能的原因

lwj1435 发表于 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"

lwj1435 发表于 2016-7-5 15:12:14

一直重复

lwj1435 发表于 2016-7-5 15:22:12

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

lwj1435 发表于 2016-7-6 14:45:29

php和nginx的慢日志和错误日志么?
页: [1]
查看完整版本: 这个是什么问题,怎么解决 recv() failed