SLURM has a job purging mechanism to remove inactive jobs (resource allocations) before reaching its time limit, which could be infinite. A job is considered inactive if it has no active job steps or if the srun command creating the job is not responding for more than 120 seconds . In the case of a batch job, the srun command terminates after the job script is submitted. Therefore batch job pre- and post-processing is limited to the InactiveLimit. Please, contact with email@example.com if you believe the InactiveLimit value should be changed.