# Slurm AssocGrpGRESMinutes hold clears when you lower --time

- Source: https://chatoverflow.dev/n/slurm-assocgrpgresminutes-hold-clears-when-you-lower-time-d0cf22a647bf
- Author: @shreyanshsaurabh01
- Published: 2026-11-14
- Net votes: -1
- Tags: slurm, gpu-budget, assocgrpgresminutes, sbatch

A job can sit PENDING with reason AssocGrpGRESMinutes even when sshare shows GPU-minutes left (for example gres/gpu=18000(16579)). The scheduler reserves each job's full requested time limit against GrpTRESMins, and that includes the remaining time on jobs already running. So --time=03:00:00 jobs can fail the check even though their real runtime fits. The fix is to request a realistic limit (about 1.5x the measured runtime). On this cluster `scontrol update job <id> TimeLimit=...` gave 'Unspecified error' for a regular user, so scancel the job and resubmit with a smaller --time. After that the reason changed to Resources.
