<div dir="ltr">Hi Dmitri,<div><br></div><div>You might check the value you have for <span style="font-family:inherit;font-style:inherit;font-variant-caps:inherit;color:rgb(70,84,92)">AccountingStorageEnforce in slurm.conf to make sure it's one that enables QoS enforcement. </span></div><div><span style="font-family:inherit;font-style:inherit;font-variant-caps:inherit;color:rgb(70,84,92)"><br></span></div><div><span style="font-family:inherit;font-style:inherit;font-variant-caps:inherit;color:rgb(70,84,92)">Regards,</span></div><div><span style="font-family:inherit;font-style:inherit;font-variant-caps:inherit;color:rgb(70,84,92)">Lyn</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 7, 2018 at 9:32 AM, Dmitri Chebotarov <span dir="ltr"><<a href="mailto:dchebota@gmu.edu" target="_blank">dchebota@gmu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
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.<br>
<br>
According to <a href="https://slurm.schedmd.com/resource_limits.html" rel="noreferrer" target="_blank">https://slurm.schedmd.com/<wbr>resource_limits.html</a> "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...<br>
<span class=""><br>
Thank you,<br>
--<br>
Dmitri Chebotarov.<br>
George Mason University,<br>
4400 University Drive,<br>
Fairfax, VA, 22030<br>
GPG Public key# 5E19F14D: [<a href="https://goo.gl/SlE8tj" rel="noreferrer" target="_blank">https://goo.gl/SlE8tj</a>]<br>
<br>
<br>
</span>______________________________<wbr>__________<br>
From: slurm-users <<a href="mailto:slurm-users-bounces@lists.schedmd.com">slurm-users-bounces@lists.<wbr>schedmd.com</a>> on behalf of Dmitri Chebotarov <<a href="mailto:dchebota@gmu.edu">dchebota@gmu.edu</a>><br>
Sent: Saturday, April 7, 2018 12:19:05 PM<br>
To: <a href="mailto:slurm-users@schedmd.com">slurm-users@schedmd.com</a><br>
Subject: [slurm-users] MaxSubmitJobsPerUser?<br>
<span class=""><br>
Hello<br>
<br>
I'm looking for some help on how to use MaxSubmitJobsPerUser in QOS.<br>
Seems like I'm missing something while trying to limit number of jobs a user can submit.<br>
<br>
sacctmgr add qos maxsubmitjobsperuser<br>
sacctmgr modify qos maxsubmitjobsperuser set MaxSubmitJobsPerUser=1<br>
sacctmgr modify user dchebota set qos+=maxsubmitjobsperuser<br>
<br>
MaxSubmitJobsPerUser is not set on any other QOS.<br>
<br>
I'm still able to submit more that 1 job - all submitted jobs are RUNNING.<br>
<br>
Is this the right way to set MaxSubmitJobsPerUser per user?<br>
<br>
Thank you,<br>
--<br>
Dmitri Chebotarov.<br>
George Mason University,<br>
4400 University Drive,<br>
Fairfax, VA, 22030<br>
</span>GPG Public key# 5E19F14D: [<a href="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" rel="noreferrer" target="_blank">https://secure-web.cisco.com/<wbr>1feYS716qVivr5E5VOaSuU84KO1K7X<wbr>SVZ4x5FRDkNZ26a1QO1dR7sjS4m9hA<wbr>Hoq-<wbr>bIb1yF6WoZ2vzPshiNXFHC5prNHVzx<wbr>obJWMhGYH36j45BtA9EkficSX9uXI-<wbr>8MRQJSC01yY1oC6EIaosB-<wbr>IdAHVnhT_oD6nMRz22zdRzky_<wbr>4YcGs3hUa_-<wbr>b4yV3e6TsD43N2qbKLWVHP8CGbIDvv<wbr>Rw_mJv0qb2yyt5qi57rvg5eVN-<wbr>pqBJrk2H1wV14di88kC5J0AzxXbMvR<wbr>G84hVz5rGigMSjHYGwixY9VT1tx2b_<wbr>XbDxnir7JVdzOyEw0s1ZcLvaXrHfNi<wbr>oXVd5bMnXR5yKyw2mZpD1h-<wbr>9ecNOkgr1MZ_P_<wbr>AvSePMgP0The73zjXfUg7AQQVCWBR2<wbr>xSEZztY9JK-<wbr>CY9tRBObel0x3SkGq7f-MD8_<wbr>muwdSQwMVD0AS6AA8NN/https%3A%<wbr>2F%2Fgoo.gl%2FSlE8tj</a>]<br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div>