[slurm-users] RPC rate limiting for different users

Cutts, Tim tim.cutts at astrazeneca.com
Tue Nov 28 13:38:55 UTC 2023


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


From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of Ole Holm Nielsen <Ole.H.Nielsen at fysik.dtu.dk>
Date: Tuesday, 28 November 2023 at 11:44
To: slurm-users at lists.schedmd.com <slurm-users at lists.schedmd.com>
Subject: Re: [slurm-users] RPC rate limiting for different users
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
________________________________

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<https://www.astrazeneca.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20231128/4b15102c/attachment.htm>


More information about the slurm-users mailing list