From ed3048232ad0142c9c09eb67cc569a293e31c040 Mon Sep 17 00:00:00 2001 From: Feng Lee Date: Sun, 18 Jan 2015 13:25:02 +0800 Subject: [PATCH] name, setcookie max processes --- rel/files/vm.args | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rel/files/vm.args b/rel/files/vm.args index cf869a472..1c790f3a1 100644 --- a/rel/files/vm.args +++ b/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 +#