On 11/17/2011 05:21 PM, Chris Scheller wrote:
Is it safe to switch the proctrack type to cgroup from linuxproc with
running jobs?
The init part of each step concerning the proctrack/cgroup creates a
cgroup and put the forked tasks inside it. It then uses that cgroup to
collect the pids of tasks to stop at the end of the step. During the run
it also helps to collect the pids in order to gather statisitics (if
JobAcctGather is enabled).
As proctrack/cgroup is only used by slurmstepd and switching from
linuxproc to cgroup only involves a slurmd restart, my guess would be
that it should work as you asked for. The new steps would use
proctrack/cgroup while the already running steps, started with linuproc
would still use that.
However, I strongly recommend you to validate it first on a spare
node.... if you do not have a spare node, you should maybe try to drain
and isolate a production node to validate that. I might have missed
something.
Regards,
Matthieu