vm.args 510 B

123456789101112131415161718192021222324252627
  1. ## Name of the node
  2. -sname emqtt
  3. ## Cookie for distributed erlang
  4. -setcookie emqtt
  5. ## Heartbeat management; auto-restarts VM if it dies or becomes unresponsive
  6. ## (Disabled by default..use with caution!)
  7. ##-heart
  8. -smp true
  9. ## Enable kernel poll and a few async threads
  10. +K true
  11. +A 32
  12. ## max process numbers
  13. +P 100000
  14. ## Increase number of concurrent ports/sockets
  15. -env ERL_MAX_PORTS 4096
  16. -env ERTS_MAX_PORTS 4096
  17. #-env ERL_MAX_ETS_TABLES 1024
  18. ## Tweak GC to run more often
  19. ##-env ERL_FULLSWEEP_AFTER 10