[slurm-users] MaxSubmitJobsPerUser?
Dmitri Chebotarov
dchebota at gmu.edu
Sun Apr 8 08:19:12 MDT 2018
Hi Lyn
I have the following set for AccountingStorageEnforce
AccountingStorageEnforce=associations,limits,qos,safe
Thank you,
--
Dmitri Chebotarov.
George Mason University,
4400 University Drive,
Fairfax, VA, 22030
GPG Public key# 5E19F14D
________________________________________
From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of Lyn Gerner <schedulerqueen at gmail.com>
Sent: Saturday, April 7, 2018 3:11:25 PM
To: Slurm User Community List
Subject: Re: [slurm-users] MaxSubmitJobsPerUser?
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<mailto: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<https://secure-web.cisco.com/1Oj4hgVTCEfesWYSgFVO0wbhNe_GMnD4YiD71bw-k66UiwP1emqB6e1EZ4DXRhkXJCuTkQG1QOVVKhdZhszMeL2YjELXPiG5AJ9d2BOB8oavX3hG4-UL83eQyuiAL8ZqpV7pA2zez0vwQeTf408gd2Lk2FTRhshYZMZWaGH3g-hDc6OYFruBOb3m6jG0q4IsNhoYQz0KsmXxb3vbQj1rfNOqIrGndrV_c0tNahjpK-Wgal1EFuKUHgtHrBBvDBo6yuRksi0ykzku8-dlpVZlFcLVD5XGs7eOYbOu-CKbDsrQ3tpdlA_Y11xWa1-FdAPJHpmvXmVvcv0TamZeBcWLx_NI_TlZiSRK9lePC1RpK-3ITudhyjECkWjHgGNzSPJQy/https%3A%2F%2Fslurm.schedmd.com%2Fresource_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<https://secure-web.cisco.com/1eq3OWyhKIjrc8nmwiEZi2HnvSf1yoL3E7G2uLuClgnD5XXxYOcUHZAMts7pICeEaYHZPMg2lCwYL4vPAYI7LkPuHDegXbENVlMe6kjj3b_AS7Q25HS4GPBcCxc2BOfVMrGECvztnMf3mNVHskzLFiE76xUL5IRUYk2dZOgY-Q5bMkx_iSlYVnJy8sfmyUfpQj_VfgFm-eVcNiG16HHHB-lvI_y4gvmNHuGQ6kFXDCxrxpYsB9wzDHiMXxaxKg6DDZhY3N_yLmKTl9u_uJJShAQ43K97SLOlf-1NodTwum6buyHoIPTznQbmu7aUYRPOGNuvXbzDjFtxOyelgsZCkNbS8cLDnMofqt_atHbDGPAWrq6z43USjM_eu-SN4SHHwp49UiR9MmVKrh6KfgnSoGw/https%3A%2F%2Fgoo.gl%2FSlE8tj>]
________________________________________
From: slurm-users <slurm-users-bounces at lists.schedmd.com<mailto:slurm-users-bounces at lists.schedmd.com>> on behalf of Dmitri Chebotarov <dchebota at gmu.edu<mailto:dchebota at gmu.edu>>
Sent: Saturday, April 7, 2018 12:19:05 PM
To: slurm-users at schedmd.com<mailto: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