We are currently on the kernel version 2.6.9-89.0.9.ELsmp and we have seen cases of cache usage going very high.(almost till the level of total available memory)
To solve this issue we used the following command:
echo 3 > /proc/sys/vm/drop_caches
The result is that it drops clean caches, dentries and inodes from memory, causing that memory to become free.
The man pages on the proc displays that drop_caches is available since the kernel version 2.6.16.
refert to the url below :
However as stated earlier drop_caches works on kernel version 2.6.9-89.0.9.ELsmp as well.
How can it be confirmed if its a safe option to use drop_caches in 2.6.9-89.0.9.ELsmp or
is any other source from where this can be verified ?
Thanks in advance.