Memory seems to spike every morning
The Graphs beta has a memory graph, that shows “the percentage of physical ram being used”.
Is this total RAM, so including OS-cache (cache buffers) or is this “application memory” (for lack of a better word)? The most interesting number here would be the application-used memory, so without the filesystem cache etc, at least, that’s what I think.
I understand that it is hard to see from the outside of a VM what is what obviously, but as the beta uses the in-VM agent, it might be just as possible to measure “actual” memory usage.
If I compare in-vm numbers, it does look like it is actual application memory by the way.
The reason for this question is that it looks like every morning my memory usage jumps up quite a bit. Before I start to debug, I have to find out if this is an actual problem: if the image shows memory usage including cache, it could very well be that more cache is used after some sort of process, and there is no issue. If the graph shows application memory, that would be there is some sort of leak going on!
In a small dropplet (512mb), the memory usage jumps at least 15% every morning. A reboot (this is somewhat of a test machine currently, so I can play around with it) has it start at 50-60%, and then between 7 and 8 in the morning it jumps to 75% used.
I’m running the docker-image from digitalocean, and am not running any cronjobs.
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.×