Home  >  Q&A  >  body text

php-nginx - Using Nginx, only one front page reports readv() failed (104: Connection reset by peer)

request_terminate_timeout has been set

<value name="request_terminate_timeout">600s</value>

php.ini is set to 60s, but there is a page that must be reported:

readv() failed (104: Connection reset by peer) while reading upstream

Other pages are fine, just one page is like this: The front-end symptom is that the output HTML is incomplete, and this page is not large.
I'm at a loss for words, please help me!

怪我咯怪我咯2735 days ago722

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-16 17:27:14

    It should be a problem with PHP configuration parameters. Take a look at the value of request_terminate_timeout in php-fpm.conf. How about changing it to 600?

    reply
    0
  • Cancelreply