Project

General

Profile

Bug #55477

Gloal Ratelilmit is overriding the per user ratelimit

Added by Tejas C 7 months ago. Updated 7 months ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hi,
As per the PR " Per user and per bucket ratelimit configuration is overriding the global configuration"

/]# radosgw-admin ratelimit get --ratelimit-scope=user --uid test1 {
"user_ratelimit": {
"max_read_ops": 150,
"max_write_ops": 150,
"max_read_bytes": 102400,
"max_write_bytes": 102400,
"enabled": true
}

/]# radosgw-admin global ratelimit get --ratelimit-scope=user --rgw-realm local {
"user_ratelimit": {
"max_read_ops": 100,
"max_write_ops": 100,
"max_read_bytes": 1024000,
"max_write_bytes": 1024000,
"enabled": true
}

~]# for i in {401..600}; do /usr/local/bin/s3cmd put ks-pre.log s3://con1/f$i; done
...
upload: 'ks-pre.log' -> 's3://con1/f524' [1 of 1]
989 of 989 100% in 0s 165.83 KB/s done
WARNING: Retrying failed request: /?location (503 (SlowDown))
WARNING: Waiting 3 sec...

We start seeing slowdown well before the User defined limit of 150 max_read_ops

History

#1 Updated by Tejas C 7 months ago

this does not seem to be an issue , my bad.

The user ratelimit was set outside the scope of the realm.

#2 Updated by Casey Bodley 7 months ago

  • Status changed from New to Can't reproduce

Also available in: Atom PDF