Explorar o código

name, setcookie max processes

Feng Lee %!s(int64=11) %!d(string=hai) anos
pai
achega
ed3048232a
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  1. 4 3
      rel/files/vm.args

+ 4 - 3
rel/files/vm.args

@@ -1,8 +1,8 @@
 ## Name of the node
--sname emqtt
+-name emqtt@127.0.0.1
 
 ## Cookie for distributed erlang
--setcookie emqtt
+-setcookie emqttsecretcookie
 
 ## Heartbeat management; auto-restarts VM if it dies or becomes unresponsive
 ## (Disabled by default..use with caution!)
@@ -14,7 +14,7 @@
 +A 32
 
 ## max process numbers
-+P 100000
++P 1000000
 
 ## Increase number of concurrent ports/sockets
 -env ERL_MAX_PORTS 4096
@@ -25,3 +25,4 @@
 
 ## Tweak GC to run more often
 ##-env ERL_FULLSWEEP_AFTER 10
+#