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"/>
|
<variable name='rdClMemberSlaveMaster' type='string' description="Noeud du noeud répliquer sur cette instance secondaire"/>
|
||||||
</family>
|
</family>
|
||||||
<family name='Redis tunning' mode='expert'>
|
<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)">
|
<variable name='rdCliOutBuffHardLimit' type='number' description="Client output buffer hard limit (for slave)">
|
||||||
<value>512</value>
|
<value>512</value>
|
||||||
</variable>
|
</variable>
|
||||||
|
|
|
@ -291,7 +291,7 @@ dir /var/lib/redis
|
||||||
# Once the limit is reached Redis will close all the new connections sending
|
# Once the limit is reached Redis will close all the new connections sending
|
||||||
# an error 'max number of clients reached'.
|
# an error 'max number of clients reached'.
|
||||||
#
|
#
|
||||||
# maxclients 10000
|
maxclients %%redisMaxClients
|
||||||
|
|
||||||
# Don't use more memory than the specified amount of bytes.
|
# Don't use more memory than the specified amount of bytes.
|
||||||
# When the memory limit is reached Redis will try to remove keys
|
# 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
|
# Once the limit is reached Redis will close all the new connections sending
|
||||||
# an error 'max number of clients reached'.
|
# an error 'max number of clients reached'.
|
||||||
#
|
#
|
||||||
# maxclients 10000
|
maxclients %%redisMaxClients
|
||||||
|
|
||||||
# Don't use more memory than the specified amount of bytes.
|
# Don't use more memory than the specified amount of bytes.
|
||||||
# When the memory limit is reached Redis will try to remove keys
|
# When the memory limit is reached Redis will try to remove keys
|
||||||
|
|
Loading…
Reference in New Issue