29 lines
498 B
Plaintext
29 lines
498 B
Plaintext
## Name of the node
|
|
-sname emqtt
|
|
|
|
## Cookie for distributed erlang
|
|
-setcookie emqttsecret
|
|
|
|
#-boot start_sasl
|
|
|
|
-s emqtt start
|
|
|
|
## 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 64
|
|
+P 10000
|
|
|
|
## Increase number of concurrent ports/sockets
|
|
-env ERL_MAX_PORTS 4096
|
|
|
|
-env ERL_MAX_ETS_TABLES 1400
|
|
|
|
## Tweak GC to run more often
|
|
-env ERL_FULLSWEEP_AFTER 10
|
|
|