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

Memory & Swap not utilized

Jacek

New Pleskian
Hi on the forum

I got Hetzner Ryzen serwer with 64GB of ram. Plesk + Debian on it. One website, around 15K visitors daily. Using CDN.

Our problem is - this huge memory - 64GB, neither 32GB SWAP is not utilized. I've checked if SWAP is set correctly, and looks like developer forgotten to add parameter in sysctl.conf.

How to Enable Swap on Ubuntu systems - cPanel Plesk

I've done this - but still, swap usage is always "0".

Also, to utilize more ram I've changed usage of RAM in pagespeed module, changed nginx cache to 4GB, allowed PHP script usage in Apache to 8GB, but still, our memory usage is max 2,7%. As we use SSD drives, I would prefer to use more RAM, to not wear out SSD to early. Also CPU usage is reported as between 400 - 600%, I believe could be lower with better memory usage.

Any clues? Search results is always opposite - people got problems with memory leaks, not low memory usage :)
 
First, when the system requires more memory than is physically available it starts to swap, see and understand: All about Linux swap space - Linux.com

So what u are trying to achieve is that your physically memory is used as best, therefor search for How to adjust and optimize server performance might be more beneficial as just increase some settings to consume more memory. For Example: an adjusted & optimized mysql config would benefit from the available memory too if needed.

In short, high CPU usage may occur due to multiple reasons., there are a lot of entrys in the Plesk knowledgebase how to identify it if it is plesk related.
 
Last edited:
Ok, the problem were silly - for monitoring I've mostly use my smartphone. Plesk android app is just wrongly displaying memory usage, on plesk in pc browser memory usage is around 25GB, so I guess - correct.

Please fix mobile app, it's very usable to monitor from your smartphone.
 
Hi on the forum

I got Hetzner Ryzen serwer with 64GB of ram. Plesk + Debian on it. One website, around 15K visitors daily. Using CDN.

Our problem is - this huge memory - 64GB, neither 32GB SWAP is not utilized. I've checked if SWAP is set correctly, and looks like developer forgotten to add parameter in sysctl.conf.

How to Enable Swap on Ubuntu systems - cPanel Plesk

I've done this - but still, swap usage is always "0".

Also, to utilize more ram I've changed usage of RAM in pagespeed module, changed nginx cache to 4GB, allowed PHP script usage in Apache to 8GB, but still, our memory usage is max 2,7%. As we use SSD drives, I would prefer to use more RAM, to not wear out SSD to early. Also CPU usage is reported as between 400 - 600%, I believe could be lower with better memory usage.

Any clues? Search results is always opposite - people got problems with memory leaks, not low memory usage :)

I've been working at Hetzner for a long time

Did you install it with vnc or not? did you do rescue system idle?

Ekran Alıntısı.PNG
 
Back
Top