To clear cache memory useĀ following command as user root sync; echo 3 > /proc/sys/vm/drop_caches To set cronjob to clear cache memory at specific intervals Access server through shell as root user. First we will create a shell script at “/root/cleacrcache.sh” and enter folllowing contents #!/bin/sh sync; echo 3 > /proc/sys/vm/drop_caches
Categories: Linux

