Report this

What is the reason for this report?

Memory graph showing 80% but TOP command showing much less

Posted on April 6, 2020

Hi! I am running a Ubuntu 18.04 on a droplet. Droplet size is 8GB memory and 160GC disk. In the graphs page on my dashboard, the “Memory” usage is at 80%. CPU shows around 0.2%, disk shows around 2%.

The droplet hosts lost traffic website. I have mysql running and a wsgi application running (production server for django application).

When I run the TOP command, memory % is nowhere near 80%. What am I not understanding? Why are the graphs not correlating with the TOP command output?



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!

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

I believe that DO reports MemTotal - MemAvailable in the statistics. You can find these values in your system memory statistics at /proc/meminfo

MemAvailable is an estimate of memory available for applications (and does not include memory available for systems).

Your top statistics show statistics for both application and system use.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.