From 46479ed6088d7f211844e8afce74d45727510b49 Mon Sep 17 00:00:00 2001 From: Feng Lee Date: Fri, 17 Jan 2020 16:18:11 +0800 Subject: [PATCH] Tune the default config for node --- etc/emqx.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/etc/emqx.conf b/etc/emqx.conf index 4c8195b1a..a603e5678 100644 --- a/etc/emqx.conf +++ b/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 utgoing RPC connections. +## Number of outgoing RPC connections. ## ## Value: Interger [1-256] rpc.tcp_client_num = 32