Adding maxclients support
This commit is contained in:
parent
07e64177f1
commit
23d8921d16
@ -87,6 +87,9 @@
|
||||
<variable name='rdClMemberSlaveMaster' type='string' description="Noeud du noeud répliquer sur cette instance secondaire"/>
|
||||
</family>
|
||||
<family name='Redis tunning' mode='expert'>
|
||||
<variable name='redixMaxClients' type='number' description="Maximum allowed clients">
|
||||
<value>10000</value>
|
||||
</variable>
|
||||
<variable name='rdCliOutBuffHardLimit' type='number' description="Client output buffer hard limit (for slave)">
|
||||
<value>512</value>
|
||||
</variable>
|
||||
|
@ -291,7 +291,7 @@ dir /var/lib/redis
|
||||
# Once the limit is reached Redis will close all the new connections sending
|
||||
# an error 'max number of clients reached'.
|
||||
#
|
||||
# maxclients 10000
|
||||
maxclients %%redisMaxClients
|
||||
|
||||
# Don't use more memory than the specified amount of bytes.
|
||||
# When the memory limit is reached Redis will try to remove keys
|
||||
|
@ -295,7 +295,7 @@ dir /var/lib/redis
|
||||
# Once the limit is reached Redis will close all the new connections sending
|
||||
# an error 'max number of clients reached'.
|
||||
#
|
||||
# maxclients 10000
|
||||
maxclients %%redisMaxClients
|
||||
|
||||
# Don't use more memory than the specified amount of bytes.
|
||||
# When the memory limit is reached Redis will try to remove keys
|
||||
|
Loading…
Reference in New Issue
Block a user