How to clear the cache from memory in Linux System

I am having 4 gb of ram in my production systems. and normally after 24 hours my nagios gives warning for insufficient memmory. when we check systems ,it always shows the memory in cache.
So we normally reboot the system to clear the cache from the memory till we find the following command.

Linux Command

sync; echo 3 > /proc/sys/vm/drop_caches


2 Responses to “How to clear the cache from memory in Linux System”

  • peyank says:

    how to clear cache on freebsd machine yesterday mysql server crash because /var is full

  • Andre says:

    Albert Jameson is a former smoker who now does stop smoking motivational speaking
    all across the U. One thing which is definitely worth mentioning a racing helmet would make a great addition to
    the whole theme and ensure that your little one has
    some protection should any mishaps take place. Delay it and
    you’ll never know what might come next.


Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>