• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue 502 Bad Gateway After High Apache Ram Usage

GoodHost

New Pleskian
502 Bad Gateway After High Apache Ram Usage

I have a plesk server with 44 wordpress websites. Every 1 to 3 days the ram usage goes up and the sites down.
Today it was twice in a day.

downtime 2 high memory usage.png

Downtime.PNG
Apache restart interval
I have tried many things but with no success. The last thing i tried today is
Apache restart interval (seconds)
from 0 seconds that it was to 300
lets see how that will go

PHP
I have all my sites at PHP 7.2.11 run as FPM application served by Apache

Usage
The server is for my own clients wordpress sites. So i create new subscriptions, new wordpress sites and so on.


Any help will be appreciated
 
On servers with high load, we recommend switch to Event mode at Tools & Settings > Apache Web server > MPM Mode
Also, you can try to disable all unused Apache modules there.
 
On servers with high load, we recommend switch to Event mode at Tools & Settings > Apache Web server > MPM Mode
Also, you can try to disable all unused Apache modules there.
MPM Mode is set to Event from start.
Dont know about modules so i cant do anything about it
 
Uhm... if it's a PHP/Apache setup, why are you getting an Nginx error message? On the assumption that you meant php/nginx, I'll continue...

Depending on how exactly your webhost has things setup, it could be one of a number of things. Most likely, one of the backend processes they're proxying to is giving 500 errors of it's own (that's pretty much what "Bad Gateway" means), so I'd start with looking into why your backends are sending back 5xx codes in response to requests. Look in the app error logs (to see what errors it is spawning) and nginx error logs (to see what URLs are causing the failures). Lodge a ticket with your hosting provider to get them to look at any logs you don't have access to yourself.
 
Back
Top