diff options
author | Kenny Ballou <kb@devnulllabs.io> | 2022-06-30 10:48:38 -0600 |
---|---|---|
committer | Kenny Ballou <kb@devnulllabs.io> | 2022-06-30 10:48:38 -0600 |
commit | 2e4c0131b7c06e7104abda99b04a66abe079d9bc (patch) | |
tree | 75b3558c7b8411528717dd5fb60207c33e6513e2 /systems | |
parent | 24c42e7f750146834c5b3ab5e84074652cfb76a6 (diff) | |
download | dotfiles-2e4c0131b7c06e7104abda99b04a66abe079d9bc.tar.gz dotfiles-2e4c0131b7c06e7104abda99b04a66abe079d9bc.tar.xz |
yak: slurm: use cgroup/v1 and ignore systemd
`slurmd` was not starting because it was unable to stat
`/sys/fs/cgroup/systemd/`. Ignoring systemd was insufficient to correct
the issue. Downgrading the cgroup version worked.
Completely removing the `cgroup-extra-content` similarly did not work.
Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
Diffstat (limited to 'systems')
-rw-r--r-- | systems/yak.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/systems/yak.scm b/systems/yak.scm index cb1bb665..a7530ae0 100644 --- a/systems/yak.scm +++ b/systems/yak.scm @@ -147,8 +147,10 @@ "PartitionName=debug Nodes=ALL Default=YES MaxTime=INFINITE State=UP")) (cgroup-extra-content (string-append + "CgroupPlugin=cgroup/v1\n" "CgroupAutomount=yes #default no\n" "ConstrainCores=yes #default no\n" + "IgnoreSystemd=yes #default no\n" "MaxRAMPercent=80 #default 100")) (slurmdbd-extra-content (string-append |