I just noticed that cgroup support seemed to be in place under 2.2.x
(x=7 in my case) and as it seems ideal for keeping my users contained,
thought I'd try it.

Under OpenSuse 11.4, though, it doesn't seem to work.  I can't seem to
get a /dev/cgroup mount working if I specify 'memory', so I'm just
using 'cpuset'.  Is there anything obvious I'm missing?  By hand, I
can create, use and destroy working cpusets.

Jeff Katcher
Fred Hutchinson Cancer Research Center

/etc/slurm # cset set
cset:
         Name       CPUs-X    MEMs-X Tasks Subs Path
 ------------ ---------- - ------- - ----- ---- ----------
         root        0-7 y       0 y   232    1 /
        slurm      ***** n   ***** n     0    0 /slurm
/etc/slurm # srun hostname
srun: error: task 0 launch failed: Slurmd could not execve job
slurmd[orca2]: slurm_container_create: No space left on device

/etc/slurm # cat cgroup.conf
CgroupAutomount=yes
CgroupMountOptions="cpuset"
CgroupReleaseAgent="/etc/slurm/cgroup.release_agent"
ConstrainCores=yes

Reply via email to