LAMP droplet high memory usage with no traffic on Ubuntu 16.04
My Droplet (512 MB Memory, LAMP, Ubuntu 16.04) uses 70%+ of it’s memory since I created it, even when I’m not running the application.
When I stop running my app, I can see the memory usage drop by 10 to 15%, but it’s still consistently high. I have a firewall setup so only my and a colleagues IP have access to the app.
In the Graphs section of the Droplet I can see the following processes consuming the most energy (high to low):
All the other processes after that don’t contribute significantly (less than 2%).
I’ve read this post, and if I run
free -m I get:
total used free shared buff/cache available Mem: 488 347 22 16 118 94 Swap: 0 0 0
So it looks like the RAM really isn’t available. How can I figure out what’s going on?
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.