• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

help diagnosing high apache cpu/memory

mettle

New Pleskian
Hi can someone help me with diagnosing high cpu and memory usage by apache? It seems to be getting higher and higher. I can restart apache and its fine for a while but then spikes again. Thanks.

Screen Shot 2013-05-29 at 10.45.20 AM.png
 
Hello,

You will have to monitor your server with " top -d 2c" command and check which files is consuming the memory and CPU on your server

Thanks
 
Ok, what next? I see mostly httpd threads and apache as the user. How do I track down which sites/files are using the most resources? Would switching sites to use fastcgi help?
 
I switched my highest traffic site to fastcgi and this is the result. Yesterday at 11am I restarted apache, that was the sudden change. Then last night at around 2030 I restarted it again after changing the site to fastcgi. Seems to have made a difference, how do I know if this amount of memory usage is good or bad?

Screen Shot 2013-05-30 at 9.25.18 AM.png
Screen Shot 2013-05-30 at 9.25.12 AM.png
 
Where did you get those graphs? I've found my apache processes at 1.4 gig, and when apache is running memory usage goes from 1.9 gig to 8 gig (100% of memory).
I've severely reduced StartServers, MinSpareServers and MaxSpareServers but just 10 processes still consumes all my memory.

updated: found the graphs. Needed to install PHM (plesk health monitor).

But now see in health monitor that Real Memory Usage is pegged at 100% and Apache constantly growing using close to all the memory.
 
Last edited:
Back
Top