Why is swap usage stay zero always?

I created swap file using this tutorial ( step by step. But swap usage is staying zero, always.

Here is monit status:

  memory usage                      1481664 kB [72.2%]
  swap usage                        0 kB [0.0%]

Which step should I follow? Any solution?

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

You shouldn’t do anything. Everything is working as it should.

What is your vm.swappiness config?

Read Swappiness