Bug #55477
closedGloal Ratelilmit is overriding the per user ratelimit
0%
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
Updated by Tejas C almost 2 years ago
this does not seem to be an issue , my bad.
The user ratelimit was set outside the scope of the realm.
Updated by Casey Bodley almost 2 years ago
- Status changed from New to Can't reproduce