Websites on PHP-FPM shows 502 Bad Gateway or 504 Gateway Timeout: Reloading in progress

Created:

2016-12-26 07:46:10 UTC

Modified:

2017-08-08 13:17:58 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Websites on PHP-FPM shows 502 Bad Gateway or 504 Gateway Timeout: Reloading in progress

Applicable to:

  • Plesk Onyx for Linux

Symptoms

Websites or site's preview that use php-fpm show following errors: 502 Bad Gateway or 504 Gateway Timeout

In /var/log/php-fpm/error.log the following record can be found:

NOTICE: Reloading in progress ...

Or any similar error.

Cause

php-fpm service is hung or down.

Resolution

Restart the php-fpm service:

# service php-fpm restart

Note: service may be plesk-php56-fpm, plesk-php55-fpm and etc. It depends on handler that is being used for domain.

Have more questions? Submit a request
Please sign in to leave a comment.