Monday, March 27, 2023

murky cgroups

 boris@u14-master:~/slurm$ cat slurm-23.err

slurmstepd: error: common_file_write_content: unable to write 1 bytes to cgroup /sys/fs/cgroup/memory/slurm/uid_1000/memory.use_hierarchy: Device or resource busy

slurmstepd: error: unable to set hierarchical accounting for /slurm/uid_1000

slurmstepd: error: Could not find task_cpuacct_cg, this should never happen

slurmstepd: error: Cannot get cgroup accounting data for 0

/var/spool/slurmd/job00023/slurm_script: line 12: 7722: command not found

slurmstepd: error: Could not find task_cpuacct_cg, this should never happen

slurmstepd: error: Cannot get cgroup accounting data for 0



using cgroups v1 because:
root@u14c-01:~# ls /sys/fs/cgroup
cpuacct  freezer  memory  systemd

this is what cgroups v2 looks like:
[boris@piglet ~]$ ls /sys/fs/cgroup/
cgroup.controllers      dev-hugepages.mount  memory.reclaim
cgroup.max.depth        dev-mqueue.mount     memory.stat
cgroup.max.descendants  init.scope           misc.capacity
cgroup.pressure         io.cost.model        proc-sys-fs-binfmt_misc.mount
cgroup.procs            io.cost.qos          sys-fs-fuse-connections.mount
cgroup.stat             io.pressure          sys-kernel-config.mount
cgroup.subtree_control  io.prio.class        sys-kernel-debug.mount
cgroup.threads          io.stat              sys-kernel-tracing.mount
cpu.pressure            irq.pressure         system.slice
cpuset.cpus.effective   machine.slice        user.slice
cpuset.mems.effective   memory.numa_stat
cpu.stat                memory.pressure

0 Comments:

Post a Comment

<< Home