[PLDWWW] page changed: docs:vserver
"Arkadiusz Miśkiewicz (arekm)"
arekm at pld-linux.org
Sat Mar 16 21:42:47 CET 2013
[cgroups with libcgroup]
--- https://www.pld-linux.org/docs/vserver?rev=1360603360
+++ https://www.pld-linux.org/docs/vserver
@@ -1104,20 +1104,20 @@
<file># cat /proc/mounts |grep cgroup
- cgroup /dev/cgroup/blkio cgroup rw,relatime,blkio 0 0
- cgroup /dev/cgroup/cpu cgroup rw,relatime,cpu 0 0
- cgroup /dev/cgroup/cpuacct cgroup rw,relatime,cpuacct 0 0
- cgroup /dev/cgroup/cpuset cgroup rw,relatime,cpuset 0 0
- cgroup /dev/cgroup/devices cgroup rw,relatime,devices 0 0
- cgroup /dev/cgroup/freezer cgroup rw,relatime,freezer 0 0
- cgroup /dev/cgroup/memory cgroup rw,relatime,memory 0 0
- cgroup /dev/cgroup/net_cls cgroup rw,relatime,net_cls 0 0
+ cgroup /sys/fs/cgroup/blkio cgroup rw,relatime,blkio 0 0
+ cgroup /sys/fs/cgroup/cpu cgroup rw,relatime,cpu 0 0
+ cgroup /sys/fs/cgroup/cpuacct cgroup rw,relatime,cpuacct 0 0
+ cgroup /sys/fs/cgroup/cpuset cgroup rw,relatime,cpuset 0 0
+ cgroup /sys/fs/cgroup/devices cgroup rw,relatime,devices 0 0
+ cgroup /sys/fs/cgroup/freezer cgroup rw,relatime,freezer 0 0
+ cgroup /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0
+ cgroup /sys/fs/cgroup/net_cls cgroup rw,relatime,net_cls 0 0
</file>
For these to work you need at least util-vserver-0.30.216-1.pre2955.3 (that .3 is important) and turn on per subsys support by doing:
<file># mkdir /etc/vservers/.defaults/cgroup
# touch /etc/vservers/.defaults/cgroup/per-ss
</file>
Diff URL:
https://www.pld-linux.org/docs/vserver?do=diff&r1=1360603360&r2=1363466566
--
This mail was generated by DokuWiki at
https://www.pld-linux.org/
More information about the pld-cvs-commit
mailing list