<div dir="ltr">ok, thanks for your quick response, I will find a way to upgrade it.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 2, 2021 at 2:12 PM Ole Holm Nielsen <<a href="mailto:Ole.H.Nielsen@fysik.dtu.dk">Ole.H.Nielsen@fysik.dtu.dk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 7/2/21 7:34 AM, Jack Chen wrote:<br>
> Slurm is great to use, I've developed several plugins on it. Now I'm <br>
> working on an issue in slurm.<br>
> <br>
> I'm using Slurm 15.08-11, after I enabled cgroup, some training job's task <br>
> is killed after a few hours. This can be reproduced several times. After <br>
> turning off cgroup, it disappears.<br>
> <br>
> Linux kernel: 3.10.0-327.36.3.el7.x86_64<br>
> <br>
> Slurm version: 15.08-11<br>
<br>
For Cgroups support I believe you need to upgrade to a much more recent <br>
Slurm version!!  Probably Slurm 17.02.5 or later, see<br>
<a href="https://wiki.fysik.dtu.dk/niflheim/Slurm_configuration#cgroup-configuration" rel="noreferrer" target="_blank">https://wiki.fysik.dtu.dk/niflheim/Slurm_configuration#cgroup-configuration</a><br>
<br>
> PS: upgrading the slurm version is almost impossible. I'm familiar with <br>
> slurm code, so I want to fix it in slurm 15.08<br>
<br>
IMHO, you will suffer many problems if you stick with this old 15.08 <br>
release.  It is definitely feasible to upgrade Slurm, although you have to <br>
take great care with the database upgrade if upgrading from 17.02 or <br>
older.  Upgrading between recent versions is quite straightforward, but it <br>
is imperative that you upgrade by at most 2 versions at a time!<br>
<br>
I have collected upgrading experience and documentation here:<br>
<a href="https://wiki.fysik.dtu.dk/niflheim/Slurm_installation#upgrading-slurm" rel="noreferrer" target="_blank">https://wiki.fysik.dtu.dk/niflheim/Slurm_installation#upgrading-slurm</a><br>
<br>
Best regards,<br>
Ole<br>
<br>
-- <br>
Ole Holm Nielsen<br>
PhD, Senior HPC Officer<br>
Department of Physics, Technical University of Denmark<br>
<br>
</blockquote></div>