标题:[实践OK]Linux centos系统cached过高问题 出处:向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除 时间:Wed, 27 Nov 2019 17:31:35 +0000 作者:jackxiang 地址:http://jackxiang.com/post/10356/ 内容: 问题,之前以为是redis占用太多内存,后来发现是操作系统有问题: free -m total used free shared buffers cached Mem: 7865 6138 1726 0 326 5110 -/+ buffers/cache: 701 7163 echo 1 > /proc/sys/vm/drop_caches free -m total used free shared buffers cached Mem: 7865 530 7335 0 0 19 =============================================== Linux cached过高问题,手动释放cached To free pagecache: echo 1 > /proc/sys/vm/drop_caches To free dentries and inodes: echo 2 > /proc/sys/vm/drop_caches To free pagecache, dentries and inodes: echo 3 > /proc/sys/vm/drop_caches 来自:https://www.cnblogs.com/yanwei-wang/p/8133888.html Generated by Jackxiang's Bo-blog 2.1.1 Release