You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cgroup_error_and_usage "Error: Cannot add +cpuset to cgroup.subtree_control; check kernel params. Unable to continue."
35
+
cgroup_error_and_usage "Error: Cannot add +cpuset to cgroup.subtree_control; check kernel params."
36
+
fi
37
+
if! grep -q "slice" /proc/self/cgroup;then
38
+
cgroup_error_and_usage "Error: Cgroups not configured properly, missing systemd slice under /proc/self/cgroup. If running under docker, make sure to set cgroupns=host."
36
39
fi
37
40
38
41
else# Trying cgroup V1:
@@ -41,14 +44,14 @@ else # Trying cgroup V1:
41
44
mkdir -p $CGROUPBASE/$i
42
45
if [ !-d$CGROUPBASE/$i/ ];then
43
46
if! mount -t cgroup -o$i$i$CGROUPBASE/$i/;then
44
-
cgroup_error_and_usage "Error: Can not mount $i cgroup. Probably cgroup support is missing from running kernel. Unable to continue."
47
+
cgroup_error_and_usage "Error: Can not mount $i cgroup. Probably cgroup support is missing from running kernel."
45
48
fi
46
49
fi
47
50
mkdir -p $CGROUPBASE/$i/domjudge
48
51
done
49
52
50
53
if [ !-f$CGROUPBASE/memory/memory.limit_in_bytes ] || [ !-f$CGROUPBASE/memory/memory.memsw.limit_in_bytes ];then
51
-
cgroup_error_and_usage "Error: cgroup support missing memory features in running kernel. Unable to continue."
54
+
cgroup_error_and_usage "Error: cgroup support missing memory features in running kernel."
0 commit comments