萬盛學電腦網

 萬盛學電腦網 >> 服務器教程 >> nginx報錯 "readv() failed (104: Connection reset by peer)"

nginx報錯 "readv() failed (104: Connection reset by peer)"

   本文章來給大家介紹在使用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

copyright © 萬盛學電腦網 all rights reserved