未知狐的小窝 - 调整Linux服务器swap（虚拟内存 ）占用 的评论
今天用了一下探针，意外的发现服务器swap占用为0，因为开的docker挂上了一个基岩服务器，只要有人玩就会占用70%~80%，对我来说这是很危险的，因为上次有开了clouddreve后几天突然...
swappiness documentOverrides /proc/sys/vm/swappiness for the particular group. The tunable in the root cgroup corresponds to the global swappiness setting.Please note that unlike during the global reclaim, limit reclaim enforces that 0 swappiness really prevents from any swapping even if there is a swap storage available. This might lead to memcg OOM killer if there are no file pages to reclaim.vm.swappiness=0 时是根本不用。