swappiness60.
min_free_kbytesmin_free_kbytes too low prevents the system from reclaiming memory. This can result in system hangs and OOM-killing multiple processes.
min_free_kbytes value results in the system spending too much time reclaiming memory.
dirty_ratio20.
dirty_background_ratio10.
drop_caches1, 2, or 3 causes the kernel to drop various combinations of page cache and slab cache.
sync before setting this parameter's value is recommended.
drop_caches to free memory is not recommended in a production environment.
swappiness temporarily to 50, run:
# echo 50 > /proc/sys/vm/swappiness
sysctl command. Refer to The proc File System appendix of the Red Hat Enterprise Linux 6 Deployment Guide for further information.