emqx/rel/files/vm.args

44 lines
1.2 KiB
Plaintext

##-------------------------------------------------------------------------
## Name of the node
##-------------------------------------------------------------------------
-name emqttd@127.0.0.1
## Cookie for distributed erlang
-setcookie emqttdsecretcookie
##-------------------------------------------------------------------------
## Mnesia dir. NOTICE: quote the dir with '" "'
##-------------------------------------------------------------------------
-mnesia dir '"data/mnesia"'
##-------------------------------------------------------------------------
## Flags
##-------------------------------------------------------------------------
## Heartbeat management; auto-restarts VM if it dies or becomes unresponsive
## (Disabled by default..use with caution!)
##-heart
-smp true
## Enable kernel poll and a few async threads
+K true
+A 32
## max process numbers
+P 1000000
##-------------------------------------------------------------------------
## Env
##-------------------------------------------------------------------------
## Increase number of concurrent ports/sockets
-env ERL_MAX_PORTS 4096
-env ERTS_MAX_PORTS 4096
#-env ERL_MAX_ETS_TABLES 1024
## Tweak GC to run more often
##-env ERL_FULLSWEEP_AFTER 1000
#