• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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 Warning: The swap usage status is critical!

Azurel

Silver Pleskian
I received this plesk email today:
The swap usage status is critica!
The current value is 3.6 GiB.
My server have 128 GB RAM
unknown.png

Then why does he use "swap" so much?

#free -m
unknown.png


CentOS Linux 8.4.2105

EDIT:
I used
# swapoff -a && swapon -a
and now its 0K/4G
If anyone wants to do this as well, it may take time. With me almost 1 hour. In a second console window you can watch the swap as it decreases.
 
Last edited:
I would not call it "normal". Swap is hard disk and it should not read almost 4GB of data from hard disk, instead it should be in RAM. ;)
If there is RAM available, why does it use swap?
 
There is RAM available, but there is very little RAM free because it's all used for buffers and cache. So the kernel swaps out stuff that has not been used for a while in favor of having more buffer/cache. You will only see zero swap usage if you have more RAM than the size of your file data set.

Check with vmstat. You will see that si and so are zero, swap usage is quasi-static.
 
Back
Top