Welcome! Log In Create A New Profile

Advanced

Random 502 bad gateway with php-fpm, why?

Anonymous User
November 14, 2013 01:13PM
My PHP application went down for a few hours with 502 bad gateway. In the nginx error log all I see is:

2013/11/14 10:02:16 [error] 1466#0: *57964 recv() failed (104: Connection reset by peer) while reading response header from upstream

I fixed it by restarting php-fpm. However, what caused this? I don't see anything interesting logged in the php-fpm or php logs. No indication of why happened, and why simply restarting php-fpm fixed the issue. I thought that php-fpm auto-restarted processes if they fail?

Any insights and place to determine the root cause? Thanks.
Subject Author Posted

Random 502 bad gateway with php-fpm, why?

Anonymous User November 14, 2013 01:13PM

Re: Random 502 bad gateway with php-fpm, why?

Toni Mueller November 15, 2013 05:56PM

Re: Random 502 bad gateway with php-fpm, why?

Anonymous User November 15, 2013 05:58PM

Re: Random 502 bad gateway with php-fpm, why?

Toni Mueller November 15, 2013 06:04PM

Re: Random 502 bad gateway with php-fpm, why?

Anonymous User November 18, 2013 11:15PM

Re: Random 502 bad gateway with php-fpm, why?

itpp2012 November 19, 2013 02:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 205
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready