SV-251183r960735_rule
V-251183
SRG-APP-000001-DB-000031
RD6X-00-000100
CAT III
10
To modify the number of maximum sessions, run the following command:
rladmin tune db <db_name> max_connections <number_of_connections>
e.g., - rladmin tune db inline-jp-staging max_connections 15000
Redis sets this limit by default at 10k clients per shard. It reserves 32 for descriptors for internal use. The organization can set a limit based on its needs during the configuration. When the set limit is reached, Redis will deny all new incoming connections and inform senders "max number of clients reached".
To check for maximum connections, run the following command:
rladmin info db db:<insert_db_id>
where db:1 would be:
rladmin info db db:1
Search in the output for max_connections. If the max connections are greater than the organizationally defined value, this is a finding.
Note: Redis Enterprise 6 does support multiple users; however, it does not support the ability to limit connections per user. If using Redis Cluster, the max number of connections remains 10k; however, each node will use two connections (incoming/outgoing).
V-251183
False
RD6X-00-000100
Redis sets this limit by default at 10k clients per shard. It reserves 32 for descriptors for internal use. The organization can set a limit based on its needs during the configuration. When the set limit is reached, Redis will deny all new incoming connections and inform senders "max number of clients reached".
To check for maximum connections, run the following command:
rladmin info db db:<insert_db_id>
where db:1 would be:
rladmin info db db:1
Search in the output for max_connections. If the max connections are greater than the organizationally defined value, this is a finding.
Note: Redis Enterprise 6 does support multiple users; however, it does not support the ability to limit connections per user. If using Redis Cluster, the max number of connections remains 10k; however, each node will use two connections (incoming/outgoing).
M
5443