• 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 Troubleshooting high memory usage of Apache & PHP-FPM

elbobo

New Pleskian
Server operating system version
Debian 11.9
Plesk version and microupdate number
Plesk Obsidian v18.0.57_build1800231218.09 os_Debian 11.0
Hello!

I have Plesk Obsidian 18.0.57 Web Pro Edition installed on a VM with 8 GB of RAM and I am currently hosting 26 domains. During the last month I am having outages because of high memory utilization from Apache and PHP-FPM according to Plesk's messages and sometimes even the server reboots.

How can I go about to find the root cause?
What I would like to do is first get statistics of every domains consumption for a small period of time, then find how much the total memory consumption from all domains as a percentage of the whole memory and then perhaps start to limit memory consumption for specific domains.
 
Are you able to SSH or login to Plesk while the incidents are occurring or is this an "after hours" type of scenario each time?
 
Have you tried to upgrade Plesk? You cloud also try to upgrade the OS but first you have to update to the latest Plesk version
Bash:
plesk installer upgrade plesk stable
https://support.plesk.com/hc/en-us/...-upgrade-procedure-on-Linux-server-with-Plesk
In case this related to an high amount of traffic, have you tried to use nginx caching?
You could watch your logs or use "btop" to see whats going on.
Bash:
tail -f /var/www/vhosts/*/logs/*log

Maybe you want to try a dedicated PHP handler, you could isolate the process better.

 
Back
Top