ubuntu buff/cache占用空间过大解决方法
发布时间:2020-05-22 16:08:44 所属栏目:Linux 来源:互联网
导读:ubuntu buff/cache占用空间过大解决方法
|
背景:服务器上传codis的备份文件到服务器之后,发现codis无法工作,经过查看log发现原来是内存不够导致的。 如图所示: #free-g totalusedfreesharedbuff/cacheavailable Mem:6234002828 Swap:000 解决方法: echo1>/proc/sys/vm/drop_caches echo2>/proc/sys/vm/drop_caches echo3>/proc/sys/vm/drop_caches 清除缓存后空间为: #free-g totalusedfreesharedbuff/cacheavailable Mem:6234280028 Swap:000 (编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
