ct_vm.args 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. ##-------------------------------------------------------------------------
  2. ## Name of the emqttd node: Name@Host
  3. ##
  4. ## NOTICE: The Host should be IP address or the fully qualified host name.
  5. ## The short hostname cannot work!
  6. ##-------------------------------------------------------------------------
  7. -name emqttd_ct@127.0.0.1
  8. # or
  9. #-name emqttd@localhost.
  10. ## Cookie for distributed erlang
  11. -setcookie emqttdsecretcookie
  12. ##-------------------------------------------------------------------------
  13. ## Flags
  14. ##-------------------------------------------------------------------------
  15. ## Heartbeat management; auto-restarts VM if it dies or becomes unresponsive
  16. ## (Disabled by default..use with caution!)
  17. ##-heart
  18. -smp true
  19. ## Enable kernel poll and a few async threads
  20. +K true
  21. ## 12 threads/core.
  22. +A 24
  23. ## max process numbers
  24. #+P 8192
  25. ## Sets the maximum number of simultaneously existing ports for this system
  26. #+Q 8192
  27. ## max atom number
  28. ## +t
  29. ## Set the distribution buffer busy limit (dist_buf_busy_limit) in kilobytes.
  30. ## Valid range is 1-2097151. Default is 1024.
  31. ## +zdbbl 8192
  32. ## Set scheduler bind type.
  33. ## +sbt db
  34. ##-------------------------------------------------------------------------
  35. ## Env
  36. ##-------------------------------------------------------------------------
  37. ## Increase number of concurrent ports/sockets, deprecated in R17
  38. #-env ERL_MAX_PORTS 8192
  39. #-env ERTS_MAX_PORTS 8192
  40. ## Mnesia and SSL will create temporary ets tables.
  41. -env ERL_MAX_ETS_TABLES 1024
  42. ## Tweak GC to run more often
  43. -env ERL_FULLSWEEP_AFTER 1000
  44. -env ERL_CRASH_DUMP log/emqttd_crash.dump