Hello,
I found on Centos7, memory utilization is above 90% still swap is 0 mb in use.
[xxx@z ~]$ free -m
total used free shared buff/cache available
Mem: 7682 1457 151 155 6073 5772
Swap: 7935 0 7935
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there,
The important measure is the available which in your case is 5772MB. So nearly 75% of your memory is available.
Only if your available memory is full, only then the system will start writing to the swap.
Also very important side note, I would really not advisable having such a huge swap file, as if the system starts storing so much information in swap it could really slow things down.
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.