Jeff, the real cgroup support is to be in 2.3 not 2.2.  Anything resembling 
cgroup support in 2.2 isn't very flushed out 
and probably doesn't work very well.

If you can test it out the git repo should be working well. 
https://github.com/SchedMD/slurm

There isn't a tag yet with the latest changes.  Perhaps soon.

Danny

On Friday July 08 2011 10:53:47 AM you wrote:
> 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