vm.args 534 B

12345678910111213141516171819202122232425262728
  1. ## Name of the node
  2. -name emqtt@127.0.0.1
  3. ## Cookie for distributed erlang
  4. -setcookie emqttsecretcookie
  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 1000000
  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
  20. #