[slurm-users] MaxSubmitJobsPerUser?
John DeSantis
desantis at usf.edu
Tue Apr 10 10:37:50 MDT 2018
Dmitri,
> 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.
We avoid this hassle by ensuring that a user has a default qos, e.g.
`sacctmgr add user blah defaultqos=blah fairshare=blah`
HTH,
John DeSantis
On Sat, 7 Apr 2018 16:32:40 +0000
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]
>
>
>
>
More information about the slurm-users
mailing list