Hi Erica,

The parameter that specifies the minimum period that completed jobs will stay 
in slurmctld's runtime database is, as you said, MinJobAge with default value 5 
minutes. That means that a job record will be removed from the active database 
after 5 minutes, but still you can find old jobs information in Slurm's MySQL 
database through slurmdbd. Also you have to take into account also the 
MaxJobCount, which specifies the maximum number of job records in slurmctld's 
runtime database. That means, if at some point (e.g. when you have a burst of 
many small jobs) the number of jobs in the runtime database reaches the value 
of MaxJobCount and we have many jobs that are completing now, then old job 
records will be removed from the active DB even if they have NOT reached the 
MinJobAge limit.

I think this explanation will help you understand better Slurm's mechanism.

By the way I agree with Mr. Marcin Stolarek that the new users should first 
read the manual before asking/spamming questions. So, my advise to all new 
users is to read the man pages of slurm.conf, slurmdbd.conf, gres.conf, 
topology.conf, scontrol, sacct, sacctmgr, sbatch, srun, etc.. RTFM!!!! ;)

Best Regards,
Chrysovalantis Paschoulas


On 09/10/2014 03:50 PM, Erica Riello wrote:
Hi,

The manual says the default value is 300.

Erica

2014-09-09 14:28 GMT-03:00 Hill, Marti Torrey 
<[email protected]<mailto:[email protected]>>:

I found it MinJobAge.

From: Hill, Marti Torrey [mailto:[email protected]<mailto:[email protected]>]
Sent: Tuesday, September 09, 2014 11:26 AM
To: slurm-dev
Subject: [slurm-dev] completed job information

Hello,
Is there a slurm parameter to set the time limit for completed job information 
before purging? What is the default value for this?

Marti





--
===============
Erica Riello
Aluna Engenharia de Computação PUC-Rio





------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

Reply via email to