On Tue, 22 Dec 2015 07:38:15 AM Robin Humble via luv-main wrote:

> I suspect if slurm mounted the cgroup as cpu,cpuacct then it would
> work. but it's because it's trying just cpuacct that it's failing.
> that's the sort of behaviour I've seen before.
> 
> the OS appears to bind mount them if they're the same.

Bingo!  You are a star sir. :-)

[root@spartan001 ~]# mount -v -t cgroup -o cpuacct none /cgroup/cpuacct
mount: none is already mounted or /cgroup/cpuacct busy

[root@spartan001 ~]# mount -v -t cgroup -o cpu,cpuacct none /cgroup/cpuacct
mount: none mounted on /cgroup/cpuacct.

> you have the slurm source - care to hack it and give that a go?

I suspect I'll just open a bug with SchedMD tomorrow and let them fix that, 
I've got my hands with my other work full until next year now.

> torque 6's cgroup code uses cpu,cpuacct which I presume is in order to
> play nicely with rhel7.

Yeah, sounds like it..

Thanks Robin! :-)

-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC

_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to