I have system cache used a lot of memory after a long time of work with system so I looked for something what might clear the cache.
So these are scripts (available in 2.6.16 Linux core or newer):
- Clears pagecache
sync echo 1 > /proc/sys/vm/drop_caches
sync echo 2 > /proc/sys/vm/drop_caches
sync echo 3 > /proc/sys/vm/drop_caches
I’m using the last one.
My main background for a recent years is MySQL DEV/DBA engineer but I’m also participating in wider range of tasks which could be likely called as DataOps/DevOps tasks. You can see my online CV here: http://catyellow.net