[slurm-users] RPC rate limiting for different users

40 views
Skip to first unread message

Cutts, Tim

unread,
Nov 28, 2023, 5:59:33 AM11/28/23
to slurm...@schedmd.com

Is the new rate limiting feature always global for all users, or is there an option, which I’ve missed, to have different settings for different users?  For example, to allow a higher rate from web services which submit jobs on behalf of a large number of users?


Tim


AstraZeneca UK Limited is a company incorporated in England and Wales with registered number:03674842 and its registered office at 1 Francis Crick Avenue, Cambridge Biomedical Campus, Cambridge, CB2 0AA.

This e-mail and its attachments are intended for the above named recipient only and may contain confidential and privileged information. If they have come to you in error, you must not copy or show them to anyone; instead, please reply to this e-mail, highlighting the error to the sender and then immediately delete the message. For information about how AstraZeneca UK Limited and its affiliates may process information, personal data and monitor communications, please see our privacy notice at www.astrazeneca.com

Ole Holm Nielsen

unread,
Nov 28, 2023, 6:43:57 AM11/28/23
to slurm...@lists.schedmd.com
On 11/28/23 11:59, Cutts, Tim wrote:
> Is the new rate limiting feature always global for all users, or is there
> an option, which I’ve missed, to have different settings for different
> users?  For example, to allow a higher rate from web services which submit
> jobs on behalf of a large number of users?

The rate limiting is global for all users. You can only play with the
various rl_* parameters described in the slurm.conf manual page to
increase bucket size etc. for everyone.

/Ole

Cutts, Tim

unread,
Nov 28, 2023, 8:39:29 AM11/28/23
to Slurm User Community List

Thanks for your swift response.

 

Ah yes, I had a look at the source code, and the only exception is root.  Doesn’t look like it would be too difficult to add the capability to have an exceptions table though which admins could configure?

 

We’ve enabled ratelimiting but it’s causing issues for some applications run by certain service account users.

 

It also seems that slurmrestd doesn’t cope well with it at all, we’ve been seeing lots of errors from that following enabling rate limiting.

 

Tim

Reply all
Reply to author
Forward
0 new messages