VPS cached memory consistently increasing


#1

Hi;
I can’t figure out why my VPS cached memory is consistently increasing in size over time. If you look at the following picture, you’ll see the yellow line growing until I got afraid of getting above my maximum memory and I decided to reboot my machine. After that… again the same trend on cached memory… how could that happen? Any way to avoid that or, at least, to limit the maximum amount of cached memory?

Thank you!

http://dl.dropbox.com/u/2459663/Schermata%2002-2455984%20alle%2023.26.40.png


#2

That is actually a good thing. That means your app is making use of caching. The larger the cached memory, the faster is to retrieve them, instead of wasting precious I/O. I wouldn’t worry too much about it. You are fine.


#3

As perry said don’t worry about the cache too much.

The cache will never use up more than you have, and cache memory will be freed when needed for an application.
The only line to worry about in relation to your available memory is the red line (labeled “Actual Memory”).


#4

Thank you guys.


#5

I’m experiencing the same thing, but if gone unchecked… it does bring down my VPS. I’ve attached a screen shot… I’m getting notices that my VPS was rebooted every couple of days.

Any thoughts?
Screenshot