vm.args 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. ## 12 threads/core.
  17. +A 48
  18. ## max process numbers
  19. +P 8192
  20. ## Sets the maximum number of simultaneously existing ports for this system
  21. +Q 8192
  22. ## max atom number
  23. ## +t
  24. ## Set the distribution buffer busy limit (dist_buf_busy_limit) in kilobytes.
  25. ## Valid range is 1-2097151. Default is 1024.
  26. ## +zdbbl 8192
  27. ## CPU Schedulers
  28. ## +sbt db
  29. ##-------------------------------------------------------------------------
  30. ## Env
  31. ##-------------------------------------------------------------------------
  32. ## Increase number of concurrent ports/sockets, deprecated in R17
  33. -env ERL_MAX_PORTS 8192
  34. -env ERTS_MAX_PORTS 8192
  35. -env ERL_MAX_ETS_TABLES 1024
  36. ## Tweak GC to run more often
  37. -env ERL_FULLSWEEP_AFTER 1000