未知狐的小窝 - 调整Linux服务器swap（虚拟内存 ）占用 的评论
type: channel
link: https://xfox.eu.org/archives/308/
description: 今天用了一下探针，意外的发现服务器swap占用为0，因为开的docker挂上了一个基岩服务器，只要有人玩就会占用70%~80%，对我来说这是很危险的，因为上次有开了clouddreve后几天突然...
items: 未知狐
items: Nios34

未知狐
type: item
date: 2020-05-05T05:46:24+00:00
description: 已修改。

Nios34
type: item
date: 2020-05-03T00:49:47+00:00
description: 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 时是根本不用。