Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm running a Dell R310 with CentOS 5.8 x64 and all it's running is apache, svn, and postfix. It's using 99% of the RAM for caching but i'd like it to use a little less like maybe somewhere in the low 90s. How can I configure this?

share|improve this question
Free memory is a waste. Why do you want it free? –  Kyle Smith Apr 7 '12 at 0:23

2 Answers 2

You really don't want to do this. The kernel will immediately relinquish cache pages to other applications if and when they call for it.

It's a complete waste of money to not let the kernel use all your available RAM.

share|improve this answer

Linux will use all the RAM that's available for caching, but when it needs it for anything else, it's just going to be freed from the cache, so you don't run out of memory because of the cache.

See this site for more info.

share|improve this answer
The reason I was asking was because our nagios was counting cached memory as "used" but the best solution to my issue is to get a better Nagios plugin. Thanks for taking the time to answer. –  StackShin Apr 9 '12 at 19:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.