search

Home  >  Q&A  >  body text

PHP-FPM smooth restart causes nginx error, what is the problem?

Smoothly restart php-fpm through kill -USR2 operation
Theoretically, requests to Nginx should be lossless, but there is still an error_log during the restart

recv() failed (104: Connection reset by peer) while reading response header from upstream
迷茫迷茫2791 days ago651

reply all(1)I'll reply

  • PHPz

    PHPz2017-05-16 17:19:02

    Look at the logs of php-fpm,
    Post the command you used to execute kill -USR2
    Also which lines of php-fpm.conf were modified

    reply
    0
  • Cancelreply