Change default configs for max-connections

This commit is contained in:
terry-xiaoyu 2018-12-14 14:58:53 +08:00 committed by turtleDeng
parent 34370ef622
commit 52e2c56ce1
1 changed files with 3 additions and 3 deletions

View File

@ -197,7 +197,7 @@ node.async_threads = 32
## Value: Number [1024-134217727] ## Value: Number [1024-134217727]
## ##
## vm.args: +P Number ## vm.args: +P Number
node.process_limit = 256000 node.process_limit = 2048000
## Sets the maximum number of simultaneously existing ports for this system. ## Sets the maximum number of simultaneously existing ports for this system.
## ##
@ -206,7 +206,7 @@ node.process_limit = 256000
## Value: Number [1024-134217727] ## Value: Number [1024-134217727]
## ##
## vm.args: +Q Number ## vm.args: +Q Number
node.max_ports = 256000 node.max_ports = 1024000
## Set the distribution buffer busy limit (dist_buf_busy_limit). ## Set the distribution buffer busy limit (dist_buf_busy_limit).
## ##
@ -879,7 +879,7 @@ listener.tcp.internal.acceptors = 4
## Maximum number of concurrent MQTT/TCP connections. ## Maximum number of concurrent MQTT/TCP connections.
## ##
## Value: Number ## Value: Number
listener.tcp.internal.max_connections = 10240000 listener.tcp.internal.max_connections = 1024000
## Maximum internal connections per second. ## Maximum internal connections per second.
## ##