Re: [slurm-users] RPC rate limiting for different users

2023-11-28 Thread Cutts, Tim
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  on behalf of Ole Holm 
Nielsen 
Date: Tuesday, 28 November 2023 at 11:44
To: slurm-users@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>


Re: [slurm-users] RPC rate limiting for different users

2023-11-28 Thread Ole Holm Nielsen

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



[slurm-users] RPC rate limiting for different users

2023-11-28 Thread Cutts, Tim
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