• 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.

Resolved Good alarm level for Apache memory usage

Timo002

Basic Pleskian
Hello,

I'm using health monitoring on my VPS. My VPS has 4GB of memory and the health monitory is recently sending alarms on the Apache memory usage. The limit for an attention is at 20%, which is around 780MB. With all the processes and websites running on this VPS, I'm hitting the limit of 20% now and then. Which means filling up my mailbox.

But is 20% really an issue? It's just 780MB of 4048MB. I don't see a real problem, but what is healthy for a webserver? Can u run in without any problems at 50%? I mean, normally you want you computer to use as much as RAM as possible because this will only make it faster.

Can I increase the limit of 20%? Or should I add more RAM?
And if I should increase, how can I do that. I downloaded the configuration file, but there is nothing about apache memory usage.
 
When you see that Apache consume a lot of RAM, run this command:

# ps aux | awk '{print $6/1024 " MB\t\t" $11}' | sort -n

and check that there are many php-fpm processes which consume many RAM. Next command will help you to find affected domain with incorrect php settings:

# ps auxfff | grep php-fpm

But note, that this is only one of the possible reasons for this issue. Also this KB article may be useful for you How to change alarm levels for Plesk Health Monitor?
 
Back
Top