• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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