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!
Accepted Answer
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.
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.