Yep, done that today, I will check in the morning if any records disappeared overnight and then reduce again. Was hoping that I could trigger it and monitor the output.

Sid


On Thu, 22 Aug 2024, 18:11 Ole Holm Nielsen via slurm-users, <slurm-users@lists.schedmd.com> wrote:
Hi Sid,

On 8/22/24 02:04, Sid Young via slurm-users wrote:
> I have 3 years worth of job records in the slurm DB and we do not have any
> need to actually track anything at this stage, I would like to keep
> 12months worth of jobs so I need to purge 2 years worth at some point..
>
> Is there a command to issue via scontrol to kick off a SlurmPurge using
> the values in the slurmdbd.conf file (currently these are 1000days, so I
> can see a few dozen records disappear before I shorten it to 365days in
> incremental steps).

You need to set database purge parameters in slurmdbd.conf, but do it in
increments first as explained in this Wiki page:
https://wiki.fysik.dtu.dk/Niflheim_system/Slurm_database/#setting-database-purge-parameters

IHTH,
Ole

--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-leave@lists.schedmd.com