mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
33 lines
871 B
Text
33 lines
871 B
Text
## 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
|
|
-name ${NODENAME}@127.0.0.1
|
|
|
|
## Cookie for distributed erlang
|
|
-setcookie <%= release.profile.cookie %>
|
|
|
|
## Path for Mnesia
|
|
-mnesia dir '"${MNESIA_DIR}"'
|
|
|
|
## 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
|