Adding maxclients support
This commit is contained in:
parent
e6db8285fd
commit
ef4e0deb13
|
@ -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