Sfoglia il codice sorgente

Merge pull request #3199 from emqx/tune-node-config

Tune the default config for node
Shawn 6 anni fa
parent
commit
7cac191490
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 5 5
      etc/emqx.conf

+ 5 - 5
etc/emqx.conf

@@ -221,7 +221,7 @@ node.data_dir = {{ platform_data_dir }}
 ## Value: Number [1024-134217727]
 ##
 ## vm.args: +P Number
-## node.process_limit = 2048000
+## node.process_limit = 2097152
 
 ## Sets the maximum number of simultaneously existing ports for this system.
 ##
@@ -230,9 +230,9 @@ node.data_dir = {{ platform_data_dir }}
 ## Value: Number [1024-134217727]
 ##
 ## vm.args: +Q Number
-## node.max_ports = 1024000
+## node.max_ports = 1048576
 
-## Set the distribution buffer busy limit (dist_buf_busy_limit).
+## Sets the distribution buffer busy limit (dist_buf_busy_limit).
 ##
 ## See: http://erlang.org/doc/man/erl.html
 ##
@@ -247,7 +247,7 @@ node.data_dir = {{ platform_data_dir }}
 ## Value: Number
 ##
 ## vm.args: +e Number
-## node.max_ets_tables = 256000
+## node.max_ets_tables = 262144
 
 ## Global GC Interval.
 ##
@@ -327,7 +327,7 @@ rpc.tcp_server_port = 5369
 ## Value: Port [1024-65535]
 rpc.tcp_client_port = 5369
 
-## Number of Outgoing RPC connections.
+## Number of outgoing RPC connections.
 ##
 ## Value: Interger [1-256]
 ## Defaults to NumberOfCPUSchedulers / 2