Sfoglia il codice sorgente

releases/2.0/vm.args

Feng 9 anni fa
parent
commit
9f68cfec01

+ 2 - 2
docs/source/cluster.rst

@@ -161,7 +161,7 @@ Suppose we deploy two nodes cluster on s1.emqtt.io, s2.emqtt.io:
 emqttd@s1.emqtt.io setting
 --------------------------
 
-emqttd/etc/vm.args::
+emqttd/releases/2.0/vm.args::
 
     -name emqttd@s1.emqtt.io
 
@@ -174,7 +174,7 @@ emqttd/etc/vm.args::
 emqttd@s2.emqtt.io setting
 --------------------------
 
-emqttd/etc/vm.args::
+emqttd/releases/2.0/vm.args::
 
     -name emqttd@s2.emqtt.io
 

+ 11 - 11
docs/source/config.rst

@@ -7,13 +7,13 @@ Configuration
 
 The two main configuration files of the broker are under 'etc/' folder:
 
-+-------------------+-----------------------------------+
-| File              | Description                       |
-+-------------------+-----------------------------------+
-| etc/vm.args       | Erlang VM Arguments               |
-+-------------------+-----------------------------------+
-| etc/emqttd.conf   | emqttd broker Config              |
-+-------------------+-----------------------------------+
++----------------------+-----------------------------------+
+| File                 | Description                       |
++----------------------+-----------------------------------+
+| releases/2.0/vm.args | Erlang VM Arguments               |
++----------------------+-----------------------------------+
+| etc/emqttd.conf      | emqttd broker Config              |
++----------------------+-----------------------------------+
 
 ----------------------------
 Plugins' Configuration Files
@@ -65,9 +65,9 @@ The modules' configuration files are in etc/modules/ folder, and referrenced by
 | etc/ssl/*                  | SSL Certfile and Keyfile          |
 +-----------------------------+----------------------------------+
 
------------
-etc/vm.args
------------
+--------------------
+releases/2.0/vm.args
+--------------------
 
 Configure and Optimize Erlang VM::
 
@@ -127,7 +127,7 @@ Configure and Optimize Erlang VM::
     ## Tweak GC to run more often
     -env ERL_FULLSWEEP_AFTER 1000
 
-The two most important parameters in etc/vm.args:
+The two most important parameters in releases/2.0/vm.args:
 
 +-------+---------------------------------------------------------------------------+
 | +P    | Max number of Erlang proccesses. A MQTT client consumes two proccesses.   |

+ 1 - 1
docs/source/getstarted.rst

@@ -220,7 +220,7 @@ TCP Stack Parameters
 Erlang VM
 ---------
 
-emqttd/etc/vm.args::
+emqttd/release/2.0/vm.args::
 
     ## max process numbers
     +P 2097152

+ 6 - 6
docs/source/install.rst

@@ -253,13 +253,13 @@ Quick Setup
 
 Two main configuration files of the emqttd broker:
 
-+-------------------+-----------------------------------+
-| etc/vm.args       | Erlang VM Arguments               |
-+-------------------+-----------------------------------+
-| etc/emqttd.conf   | emqttd broker Config              |
-+-------------------+-----------------------------------+
++-----------------------+-----------------------------------+
+| releases/2.0/vm.args  | Erlang VM Arguments               |
++-----------------------+-----------------------------------+
+| etc/emqttd.conf       | emqttd broker Config              |
++-----------------------+-----------------------------------+
 
-Two important parameters in etc/vm.args:
+Two important parameters in releases/2.0/vm.args:
 
 +-------+---------------------------------------------------------------------------+
 | +P    | Max number of Erlang proccesses. A MQTT client consumes two proccesses.   |

+ 2 - 1
docs/source/tune.rst

@@ -89,7 +89,7 @@ Timeout for FIN-WAIT-2 sockets::
 Erlang VM Tuning
 ----------------
 
-Tuning and optimize the Erlang VM in etc/vm.args file::
+Tuning and optimize the Erlang VM in releases/2.0/vm.args file::
 
     ## max number of erlang processes
     +P 2097152
@@ -149,3 +149,4 @@ emqtt_benchmark
 ---------------
 
 Test tool for concurrent connections: http://github.com/emqtt/emqtt_benchmark
+