Howto flush memory cache on CentOS Redhat RHEL

Howto flush memory cache on CentOS Redhat RHEL

centos

We notified in most of time, we are running low memory on Centos because so much memory for disk cache. Cache is used to keep data to use by CentOS or RHEL. This topic will show you how to flush memory on CentOS and Redhat RHEL.

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

Setup Crontab to flush cache every hour

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

Thanks for using IThelpblog.com.

Leave a reply

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