vm.args 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ##-------------------------------------------------------------------------
  2. ## Name of the node
  3. ##-------------------------------------------------------------------------
  4. -name emqttd@127.0.0.1
  5. ## Cookie for distributed erlang
  6. -setcookie emqttdsecretcookie
  7. ##-------------------------------------------------------------------------
  8. ## Flags
  9. ##-------------------------------------------------------------------------
  10. ## Heartbeat management; auto-restarts VM if it dies or becomes unresponsive
  11. ## (Disabled by default..use with caution!)
  12. ##-heart
  13. -smp true
  14. ## Enable kernel poll and a few async threads
  15. +K true
  16. +A 16
  17. ## max process numbers
  18. +P 8192
  19. ## max atom number
  20. ## +t
  21. ##-------------------------------------------------------------------------
  22. ## Env
  23. ##-------------------------------------------------------------------------
  24. ## Increase number of concurrent ports/sockets
  25. -env ERL_MAX_PORTS 4096
  26. -env ERTS_MAX_PORTS 4096
  27. -env ERL_MAX_ETS_TABLES 1024
  28. ## Tweak GC to run more often
  29. -env ERL_FULLSWEEP_AFTER 1000