• How can i clear all cache and buffered files in linux server (RHEL 5) ?
link|improve this question

@Kumar - you might find the following thread on cache useful: serverfault.com/questions/105606/deleting-linux-cached-ram – Patrick R Jan 30 '10 at 13:39
Someone may be able to suggest something else if you explained why you want to. vm/drop_caches wipes the OS's caches of files on disc; it has no semantic effect just kills performance, which makes it useful for performance testing and (mostly) nothing else. – MarkR Jan 31 '10 at 21:34
feedback

2 Answers

up vote 3 down vote accepted

in this post it is explained how to do it:

http://serverfault.com/questions/105606/deleting-linux-cached-ram

but be sure to read the complete post for why or why not to clear the caches.

link|improve this answer
feedback

As root: echo 3 > /proc/sys/vm/drop_caches

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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