Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
ubuntu默认没有开启swap限制
开启方式
vim /etc/default/grub
添加一行
GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"
保存后执行
update-grub
Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
ubuntu默认没有开启swap限制
开启方式
vim /etc/default/grub
添加一行
GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"
保存后执行
update-grub