[slurm-users] limit the queued jobs

Purvesh Parmar purveshp0507 at gmail.com
Mon Jul 11 05:55:10 UTC 2022


Hi,
Thank you for the response. However, MaxJobsAccrue only limits to assigning
priorities to jobs i.e.  Maximum number of pending jobs able to accrue age
priority at any given time. But it does not stop/ allow  user from
submitting further jobs.

Thanks once again

On Mon, 11 Jul 2022 at 11:07, Ole Holm Nielsen <Ole.H.Nielsen at fysik.dtu.dk>
wrote:

> Hi Purvesh,
>
> On 7/11/22 03:37, Purvesh Parmar wrote:
> > I want to limit the queued jobs per user to 5 which means, system should
> > not allow more than 5 jobs per user to remain in queue (not running and
> > waiting for resources) and only 4 jobs to run at any given time. To
> > summarize, I want to implement a policy of 4 jobs per user in the
> running
> > state and 5 jobs per user in the queue at any given time.
> >
> > I have achieved implementation of the limit of running jobs to 4 by
> > sacctmger  set MaxJobs=4. This works..But, could not find any
> > parameter which takes care of only queued jobs limit. How to do this?
>
> Probably you want to use the MaxJobsAccrue limit, see the sacctmgr manual
> page.
>
> /Ole
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20220711/51115bce/attachment.htm>


More information about the slurm-users mailing list