doris的be节点buff/cache 持续增大问题
doris的be节点buff/cache 持续增大!
free -g
total used free shared buff/cache available
Mem: 251 94 33 0 124 155
Swap: 0 0 0
#ps -ef |grep be
#cat /proc/82716/status
VmPeak: 1755992288 kB
VmSize: 1755836560 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 257412136 kB
VmRSS: 91924892 kB
查看mem_tracker:
https://doris.apache.org/zh-CN/docs/admin-manual/memory-management/overview?_highlight=mem_tracker#%E5%AE%9E%E6%97%B6%E5%86%85%E5%AD%98%E7%BB%9F%E8%AE%A1
分析:
doris有大量的IO,系统缓存持续增长,系统缓存本身是能用尽用,内存不足时会自己释放!
解决:
内存低水位线适当调高:
https://doris.apache.org/zh-CN/docs/3.0/admin-manual/memory-management/memory-feature/memory-control-strategy?_highlight=%E4%BD%8E&_highlight=%E6%B0%B4%E4%BD%8D&_highlight=%E7%BA%BF#%E5%86%85%E5%AD%98%E9%99%90%E5%88%B6%E5%92%8C%E6%B0%B4%E4%BD%8D%E7%BA%BF%E8%AE%A1%E7%AE%97%E6%96%B9%E6%B3%95
Linux命令手动清除缓存echo 3 > /proc/sys/vm/drop_caches