<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>The documentation indicates that's what should happen with
MinJobAge:</p>
<dl compact="compact">
<dt><b>MinJobAge</b></dt>
<dd>
The minimum age of a completed job before its record is purged
from
Slurm's active database. Set the values of <b>MaxJobCount</b>
and
to ensure the slurmctld daemon does not exhaust
its memory or other resources. The default value is 300 seconds.
A value of zero prevents any job record purging.
Jobs are not purged during a backfill cycle, so it can take
longer than
MinJobAge seconds to purge a job if using the backfill
scheduling plugin.
In order to eliminate some possible race conditions, the minimum
non-zero
value for <b>MinJobAge</b> recommended is 2.
</dd>
</dl>
<p>From my experience this does work. We've been running with
MinJobAge=600 for years with out any problems to my knowledge<br>
</p>
<dl compact="compact">
<dt>-Paul Edmon-<br>
</dt>
</dl>
<div class="moz-cite-prefix">On 7/6/2021 8:59 AM, Emre Brookes
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:414eb55c-82f6-22b9-554d-d3c9260b8c77@mso.umt.edu">
<blockquote type="cite">
<br>
Brian Andrus
<br>
<br>
Nov 23, 2020, 1:55:54 PM
<br>
to <a class="moz-txt-link-abbreviated" href="mailto:slurm...@lists.schedmd.com">slurm...@lists.schedmd.com</a>
<br>
All,
<br>
<br>
I always thought that MinJobAge affected how long a job will
show up
<br>
when doing 'squeue'
<br>
<br>
That does not seem to be the case for me.
<br>
<br>
I have MinJobAge=900, but if I do 'squeue --me' as soon as I
finish an
<br>
interactive job, there is nothing in the queue.
<br>
<br>
I swear I used to see jobs in a completed state for a period of
time,
<br>
but they are not showing up at all on our cluster.
<br>
<br>
<br>
How does one have jobs show up that are completed?
<br>
</blockquote>
I'm using slurm 20.02.7 & have the same issue (except I am
running batch jobs).
<br>
Does MinJobAge work to keep completed jobs around for the
specified duration in squeue output?
<br>
<br>
Thanks,
<br>
Emre
<br>
<br>
<br>
</blockquote>
</body>
</html>