[slurm-users] Job limit in slurm.

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Mon Feb 17 11:15:34 UTC 2020


Hi Navin,

Why do you think the limit is not working?  The MaxJobs limits the number 
of running jobs to 3, but you can still submit as many jobs as you like!

See "man sacctmgr" for definitions of the limits MaxJobs as well as 
MaxSubmitJobs.

/Ole

On 2/17/20 12:04 PM, navin srivastava wrote:
> Hi,
> 
> Thanks for your script.
> with this i am able to show the limit what i set. but this limt is 
> not working.
> 
> MaxJobs =        3, current value = 0
> 
> Regards
> Navin.
> 
> On Mon, Feb 17, 2020 at 4:13 PM Ole Holm Nielsen 
> <Ole.H.Nielsen at fysik.dtu.dk <mailto:Ole.H.Nielsen at fysik.dtu.dk>> wrote:
> 
>     On 2/17/20 11:16 AM, navin srivastava wrote:
>      > i have an issue with the slurm job limit. i applied the Maxjobs
>     limit on
>      > user using
>      >
>      >   sacctmgr modify user navin1 set maxjobs=3
>      >
>      > but still i see this is not getting applied. i am still bale to submit
>      > more jobs.
>      > Slurm version is 17.11.x
>      >
>      > Let me know what setting is required to implement this.
> 
>     The tool "showuserlimits" tells you all user limits in the Slurm
>     database.
>        You can download it from
>     https://github.com/OleHolmNielsen/Slurm_tools/tree/master/showuserlimits
>     and give it a try:
> 
>     $ showuserlimits -u navin1



More information about the slurm-users mailing list