• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Bad Gateway 502 every day - PHP process dead!

PARALAX

New Pleskian
Hello!

I'm writing here because our webmaster is obviously not able to solve this problem. Our webserver seems to have strange problems with the current version of Plesk. PHP process will be terminated every day after ~ 20-30 hours completely and permanentely resulting a "Bad Gateway 502" Error. It seems to work again after joining the panel and saving the server configuration again but this can be a permanent solution. I use alltogether 2 domains and 3 other subdomains as website, 4 further as redirection - Nothing unusual. Firewall has been completely disabled for all user and nginx service is completely off (I set it to "Apache & CGI). Nevertheless the HTML-Websites are the only one which are working after the regular crash of "PHP 5.6.13 OS vendor" (result see here). I don't know ehat to do now and think I will leave as customer if he is not able to find out the problem. And I'm very frustrated of the reliability of Plesk up to now in comparison to Confixx which we used before. Can anyone make some suggestions what could be wrong or what's responsible for this?
 
Last edited:
a 502 error means the backend server apache is down, probably due to an overload. Check apache error log in /var/log/httpd/error_log (tail -f /var/log/httpd/error_log)
 
I second the issues described by PARALAX – all latest updates are installed + its a fresh install of Plesk 12.5 on Debian 8 and we rebooted the machine several times. One thing I also came across is duplicate handler entries in Domain PHP settings. Also setting PHP to 5.5 seems just not to work at all (crashes) for projects known to work with PHP 5.5 on other machines.
 
Back
Top