首页 > 挂载新的 cgroup 报错 "cgset: the group can't be modified"

挂载新的 cgroup 报错 "cgset: the group can't be modified"

按照以下方式挂载新的cgroup出现问题

mount -t tmpfs cgroup_root /sys/fs/cgroup/
mkdir /sys/fs/cgroup/cpuset
mount -t cgroup -o cpuset cpuset /sys/fs/cgroup/cpuset/
cgcreate -g cpuset:/tracker

创建一个新的类型为 cpuset 的 cgroup, 配置其资源,出现报错

root@debian-lege-pro:~# cgset -r cpuset.cpus=2-3 /tracker
cgset: the group can't be modified

求问题解决办法,谢谢各位啦

【热门文章】
【热门文章】