• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Apache Memory Usage Increasing

bkhayes

Basic Pleskian
Having an issue where my server's Apache memory usage keeps exceeding 20%. I restart once the warning hits but it keeps rising. What could the potential issue be?

I have 5 Wordpress sites running on it. Only 1 of which has moderate traffic. All other health reporting seems fine. All instances of Wordpress are running PHP 7.2.5 as FastCGI application. Memory limit 128mb.

66fcfe84-42c9-4207-ad75-6a9cc24e791c
 

Attachments

  • upload_2018-5-25_18-19-20.png
    upload_2018-5-25_18-19-20.png
    71.3 KB · Views: 44
Which Plesk Version do you have ?
can you check if you have in the php settings on the domains & Serviceplan for the domains in the
PHP-FPM settings section the pm value other than ondemand
 
Last edited:
Which Plesk Version do you have ?
can you check if you have in the php settings on the domains & Serviceplan for the domains in the
PHP-FPM settings section the pm value other than ondemand

Plesk Version 17.8.11 Update #8

Only PHP Handler enabled is 7.2.6 FPM application
upload_2018-5-30_16-20-8.png
All others disabled:

upload_2018-5-30_16-21-28.png

And the settings under each website:
upload_2018-5-30_16-22-53.png

Only thing worth mentioning that I've really "customized" is the Apache directives. I've got page speed module filters running for each site. Could that impact this?

upload_2018-5-30_16-25-36.png
 
I've got page speed module filters running for each site. Could that impact this?
Yes, sure. But you can easily test if this is causing a much higher load by temporarily disabling the module (not the settings).

In general, it is o.k. for Apache to use much RAM if the RAM is available. It is supposed to do that. On your system, Apache is currently only using 20% of RAM, so you still have plenty of headroom left. The curve it is showing in the chart is o.k., too.
 
Thank you for your response. The high RAM usage went down after a bit. If I continue to see spikes or increased usage I will try disabling the module temporarily. Thank you again!

upload_2018-5-31_18-50-23.png
 
Hi there, I also have an issue with increasing Apache Memory Usage. As you can see by the screenshot they is a significant spike in usage. I have checked all PHP-FPM settings and they are all set to ondemend. Any ideas what could be causing this?
 

Attachments

  • Screenshot 2018-11-09 at 12.47.01.png
    Screenshot 2018-11-09 at 12.47.01.png
    159.9 KB · Views: 14
I ended up switching to running on NGINX instead of Apache and that helped bring it down consistently.
 
Back
Top