Re: [slurm-dev] cgroups and task epilog

2011-10-06 Thread Mark A. Grondona
On Thu, 6 Oct 2011 14:04:01 -0700, Matthieu Hautreux wrote: Non-text part: multipart/alternative > > In my mind 3 modifications should be applied to the main branch : > > - Sam's first patch to be sure that task epilog is added to the > container before really executing it > - ESRCH patch to avo

Re: [slurm-dev] cgroups and task epilog

2011-10-06 Thread Matthieu Hautreux
2011/10/6 Mark A. Grondona > On Thu, 6 Oct 2011 08:52:46 -0700, Matthieu Hautreux < > matthieu.hautr...@gmail.com> wrote: > Non-text part: multipart/alternative > > 2011/10/6 Mark A. Grondona mailto:mgrond...@llnl.gov > >> > > On Thu, 6 Oct 2011 04:47:59 -0700, Matthieu Hautreux < > matthieu.haut

Re: [slurm-dev] cgroups and task epilog

2011-10-06 Thread Mark A. Grondona
On Thu, 6 Oct 2011 08:52:46 -0700, Matthieu Hautreux wrote: Non-text part: multipart/alternative > 2011/10/6 Mark A. Grondona mailto:mgrond...@llnl.gov>> > On Thu, 6 Oct 2011 04:47:59 -0700, Matthieu Hautreux > mailto:matthieu.hautr...@gmail.com>> wrote: > Non-text part: multipart/mixed > Non-te

Re: [slurm-dev] cgroups and task epilog

2011-10-06 Thread Matthieu Hautreux
2011/10/6 Mark A. Grondona > On Thu, 6 Oct 2011 04:47:59 -0700, Matthieu Hautreux < > matthieu.hautr...@gmail.com> wrote: > Non-text part: multipart/mixed > Non-text part: multipart/alternative > > Hi, > > > > IMHO, there is two distinct problems : > > > > 1) a task can be finished before being a

Re: [slurm-dev] cgroups and task epilog

2011-10-06 Thread Mark A. Grondona
On Thu, 6 Oct 2011 04:47:59 -0700, Matthieu Hautreux wrote: Non-text part: multipart/mixed Non-text part: multipart/alternative > Hi, > > IMHO, there is two distinct problems : > > 1) a task can be finished before being added to a cgroup, resulting in > a ESRCH error. That is the initial proble

Re: [slurm-dev] cgroups and task epilog

2011-10-06 Thread Matthieu Hautreux
Hi, IMHO, there is two distinct problems : 1) a task can be finished before being added to a cgroup, resulting in a ESRCH error. That is the initial problem of Sam 2) a task can no longer being added to a step cgroup because this one no longer exists. That is a collateral problem that appears wi

Re: [slurm-dev] cgroups and task epilog

2011-10-05 Thread Mark A. Grondona
On Wed, 5 Oct 2011 15:40:16 -0700, Sam Lang wrote: Non-text part: multipart/mixed > > Hello, > > I've run into minor problem with cgroups when a task epilog script is > specified in the config file. The issue appears to be that with the > ProctrackType=proctrack/cgroup, and with the appropria

[slurm-dev] cgroups and task epilog

2011-10-05 Thread Sam Lang
Hello, I've run into minor problem with cgroups when a task epilog script is specified in the config file. The issue appears to be that with the ProctrackType=proctrack/cgroup, and with the appropriate release files in place so that cgroups are cleaned up properly (CgroupReleaseAgentDir=/sr