Report this

What is the reason for this report?

Graphs and monitoring differs from real memory usage?

Posted on July 28, 2017

Hey, i hope you guys help me out with this issue.

Currently i have a 1gb ram droplet with ubuntu 16.04.2 os.

On my droplet dashboard, the memory graphs says that im using about 71.8% of my ram. See: Dashboard graphs image

But inside my droplet, i run a command to display the current memory usage (%) and the result is this: Inside droplet

As you guys can see, mysql are using 26.6% of my ram, and my java webservice is using 32.2, and some other process that dont mean almost nothing to the vm. At the memory graphs, it stills going up and up, but at my droplet, it still the same. Java at 32.2% and mysql at 26.6%

Maybe im looking at the graphs wrong? Or its really a bug in the dashboard?

Thanks.



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.

@c0nf1ck

I cannot answer your question about the dashboards but to get the real memory usage from the command line you can use this command free -h it will give you your total RAM, currently used, free, shared buffered and cached, this is the output from one of my servers

root@backup01:~# free -h
             total       used       free     shared    buffers     cached
Mem:          7.7G       7.0G       683M        89M       4.1G       891M
-/+ buffers/cache:       2.0G       5.7G
Swap:         7.9G       406M       7.5G

The values in the first line could be misleading look at the second one it says 2.0G of my 7.7G are used which means memory usage is 25% what are your values?

Also note that these values differ from time to time so check the last value in your dashboard with the value you got in your terminal.

Hope this helps.

Do yourself a favor, as me, migrate everything to VULTR. Too much better than digital ocean!

Thank me later :)

Where is the status of the bug? We need this resolving as we are getting mem alerts, and have to log in to console each time to run Free -h

Can we get a timescale please?

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.