vm.args 825 B

123456789101112131415161718192021222324252627282930
  1. ## This file provide the arguments provided to the VM at startup
  2. ## You can find a full list of flags and their behaviours at
  3. ## http://erlang.org/doc/man/erl.html
  4. ## Name of the node
  5. -name <%= release_name %>@127.0.0.1
  6. ## Cookie for distributed erlang
  7. -setcookie <%= release.profile.cookie %>
  8. ## Heartbeat management; auto-restarts VM if it dies or becomes unresponsive
  9. ## (Disabled by default..use with caution!)
  10. ##-heart
  11. ## Enable kernel poll and a few async threads
  12. +K true
  13. ##+A 5
  14. ## For OTP21+, the +A flag is not used anymore,
  15. ## +SDio replace it to use dirty schedulers
  16. +SDio 5
  17. ## Increase number of concurrent ports/sockets
  18. ##-env ERL_MAX_PORTS 4096
  19. ## Tweak GC to run more often
  20. ##-env ERL_FULLSWEEP_AFTER 10
  21. # Enable SMP automatically based on availability
  22. # On OTP21+, this is not needed anymore.
  23. -smp auto