From eba3e4f0ad51892c531305c639a19f620989ab94 Mon Sep 17 00:00:00 2001 From: Tobias Werth Date: Tue, 4 Jun 2024 21:37:39 +0200 Subject: [PATCH] temp remove cpu controller, as it seems to break in docker --- judge/runguard.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/judge/runguard.cc b/judge/runguard.cc index 3085ffa87b1..9a30be96165 100644 --- a/judge/runguard.cc +++ b/judge/runguard.cc @@ -570,9 +570,10 @@ void cgroup_create() verbose("cpuset undefined"); } - if ( (cg_controller = cgroup_add_controller(cg, "cpu"))==nullptr ) { - error(0,"cgroup_add_controller cpu"); - } + // TODO + // if ( (cg_controller = cgroup_add_controller(cg, "cpu"))==nullptr ) { + // error(0,"cgroup_add_controller cpu"); + // } if (!is_cgroup_v2) { if ((cg_controller = cgroup_add_controller(cg, "cpuacct")) == nullptr) { error(0, "cgroup_add_controller cpuacct");