[slurm-users] MaxSubmitJobsPerUser?

Lyn Gerner schedulerqueen at gmail.com
Sat Apr 7 13:11:25 MDT 2018


Hi Dmitri,

You might check the value you have for AccountingStorageEnforce in
slurm.conf to make sure it's one that enables QoS enforcement.

Regards,
Lyn

On Sat, Apr 7, 2018 at 9:32 AM, Dmitri Chebotarov <dchebota at gmu.edu> wrote:

>
> The MaxSubmitJobsPerUser seems to be working when QOS where
> MaxSubmitJobsPerUser is defined is the only QOS assigned to the user. When
> multiple QOS assigned to user account, and only one QOS defines
> MaxSubmitJobsPerUser, the MaxSubmitJobsPerUser is not honored.
>
> According to https://slurm.schedmd.com/resource_limits.html "Note: If
> limits are defined at multiple points in this hierarchy, the point in this
> list where the limit is first defined will be used", I expected that 1st
> QOS which mentions MaxSubmitJobsPerUser will enforce the limit...
>
> Thank you,
> --
> Dmitri Chebotarov.
> George Mason University,
> 4400 University Drive,
> Fairfax, VA, 22030
> GPG Public key# 5E19F14D: [https://goo.gl/SlE8tj]
>
>
> ________________________________________
> From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of
> Dmitri Chebotarov <dchebota at gmu.edu>
> Sent: Saturday, April 7, 2018 12:19:05 PM
> To: slurm-users at schedmd.com
> Subject: [slurm-users] MaxSubmitJobsPerUser?
>
> Hello
>
> I'm looking for some help on how to use MaxSubmitJobsPerUser in QOS.
> Seems like I'm missing something while trying to limit number of jobs a
> user can submit.
>
> sacctmgr add qos maxsubmitjobsperuser
> sacctmgr modify qos maxsubmitjobsperuser set MaxSubmitJobsPerUser=1
> sacctmgr modify user dchebota set qos+=maxsubmitjobsperuser
>
> MaxSubmitJobsPerUser is not set on any other QOS.
>
> I'm still able to submit more that 1 job - all submitted jobs are RUNNING.
>
> Is this the right way to set MaxSubmitJobsPerUser per user?
>
> Thank you,
> --
> Dmitri Chebotarov.
> George Mason University,
> 4400 University Drive,
> Fairfax, VA, 22030
> GPG Public key# 5E19F14D: [https://secure-web.cisco.com/
> 1feYS716qVivr5E5VOaSuU84KO1K7XSVZ4x5FRDkNZ26a1QO1dR7sjS4m9hAHoq-
> bIb1yF6WoZ2vzPshiNXFHC5prNHVzxobJWMhGYH36j45BtA9EkficSX9uXI-
> 8MRQJSC01yY1oC6EIaosB-IdAHVnhT_oD6nMRz22zdRzky_4YcGs3hUa_-
> b4yV3e6TsD43N2qbKLWVHP8CGbIDvvRw_mJv0qb2yyt5qi57rvg5eVN-
> pqBJrk2H1wV14di88kC5J0AzxXbMvRG84hVz5rGigMSjHYGwixY9VT1tx2b_
> XbDxnir7JVdzOyEw0s1ZcLvaXrHfNioXVd5bMnXR5yKyw2mZpD1h-9ecNOkgr1MZ_P_
> AvSePMgP0The73zjXfUg7AQQVCWBR2xSEZztY9JK-CY9tRBObel0x3SkGq7f-MD8_
> muwdSQwMVD0AS6AA8NN/https%3A%2F%2Fgoo.gl%2FSlE8tj]
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180407/5cddcf91/attachment.html>


More information about the slurm-users mailing list