Lines Matching +full:current +full:- +full:limiting
6 --------
13 preventable in the scope of a cgroup hierarchy by allowing resource limiting of
17 -----
21 number of processes currently in the cgroup is given by pids.current.
24 to have pids.current > pids.max. This can be done by either setting the limit to
25 be smaller than pids.current, or attaching enough processes to the cgroup such
26 that pids.current > pids.max. However, it is not possible to violate a cgroup
27 policy through fork() or clone(). fork() and clone() will return -EAGAIN if the
34 pids.current tracks all child cgroup hierarchies, so parent/pids.current is a
35 superset of parent/child/pids.current.
39 - max: Number of times fork failed in the cgroup because limit was hit in
43 -------
47 # mkdir -p /sys/fs/cgroup/pids
48 # mount -t cgroup -o pids none /sys/fs/cgroup/pids
52 # mkdir -p /sys/fs/cgroup/pids/parent/child
55 # cat /sys/fs/cgroup/pids/parent/pids.current
62 # cat /sys/fs/cgroup/pids/parent/pids.current
73 # cat /sys/fs/cgroup/pids/parent/pids.current
75 # cat /sys/fs/cgroup/pids/parent/child/pids.current
83 We can set a limit that is smaller than pids.current, which will stop any new
85 pids.current)::