Nginx

1个成员

nginx报错 "readv() failed (104: Connection reset by peer)"

发表于 2017-01-28 4972 次查看
本文章来给大家介绍在使用nginx报错 "readv() failed (104: Connection reset by peer)" 错误的解决办法。

错误提示

[error] readv() failed (104: Connection reset by peer) while reading upstream, client: x.x.x.x, server: host.tld, request: "POST /script.php, ...

解决办法

php-fpm.conf中将这个参数的值设定为600:

request_terminate_timeout = 600

发表回复
你还没有登录,请先登录注册