2019-12-07 18:17:12 +01:00
|
|
|
## This file provide the arguments provided to the VM at startup
|
|
|
|
## You can find a full list of flags and their behaviours at
|
|
|
|
## http://erlang.org/doc/man/erl.html
|
|
|
|
|
|
|
|
## Name of the node
|
2020-04-07 06:41:03 +02:00
|
|
|
-name ${NODENAME}@127.0.0.1
|
2019-12-07 18:17:12 +01:00
|
|
|
|
|
|
|
## Cookie for distributed erlang
|
|
|
|
-setcookie <%= release.profile.cookie %>
|
|
|
|
|
2020-04-07 18:00:55 +02:00
|
|
|
## Path for Mnesia
|
2020-04-07 18:16:11 +02:00
|
|
|
-mnesia dir '${MNESIA_DIR}'
|
2020-04-07 18:00:55 +02:00
|
|
|
|
2019-12-07 18:17:12 +01:00
|
|
|
## Heartbeat management; auto-restarts VM if it dies or becomes unresponsive
|
|
|
|
## (Disabled by default..use with caution!)
|
|
|
|
##-heart
|
|
|
|
|
|
|
|
## Enable kernel poll and a few async threads
|
|
|
|
##+K true
|
|
|
|
##+A 5
|
|
|
|
## For OTP21+, the +A flag is not used anymore,
|
|
|
|
## +SDio replace it to use dirty schedulers
|
|
|
|
##+SDio 5
|
|
|
|
|
|
|
|
## Increase number of concurrent ports/sockets
|
|
|
|
##-env ERL_MAX_PORTS 4096
|
|
|
|
|
|
|
|
## Tweak GC to run more often
|
|
|
|
##-env ERL_FULLSWEEP_AFTER 10
|
|
|
|
|
|
|
|
# Enable SMP automatically based on availability
|
|
|
|
# On OTP21+, this is not needed anymore.
|
|
|
|
-smp auto
|