这个是什么问题,怎么解决 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 编辑 ] 可能php-fpm挂掉了,你可以看一下php-fpm的日志 只有一个页面这样,其他都没问题~重启了服务器就这样了~ 好奇怪 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! 这里是日志 你可以开慢日志和错误日志具体判断可能的原因 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" 一直重复 发现了这个警告: systemd monitor interval set to 10000ms怎么把它设置为永不超时 php和nginx的慢日志和错误日志么?
页:
[1]