情況緩存
[hadoop@master ~]$ free -h
total used free shared buff/cache available
Mem: 31G 11G 18G 17M 1.4G 19G
Swap: 63G 10M 63G
[hadoop@master ~]$
Linux系統buff/cache 中緩存數據佔用內存過高,定時清理buff/cache ,釋放系統內存
echo 1 > /proc/sys/vm/drop_caches
echo 1 > /proc/sys/vm/drop_caches
echo 1 > /proc/sys/vm/drop_caches