aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/vm_args.dtl
diff options
context:
space:
mode:
authornuex <[email protected]>2014-02-21 15:16:39 -0500
committernuex <[email protected]>2014-03-08 19:30:56 -0500
commit7703e99c8ef26988242907ef3253470317330c8c (patch)
treeb2f6784ea368762e9d1fff53f7d568ea10634dd6 /priv/templates/vm_args.dtl
parentf2fe3631a093f5d45aeef129ead37562ded9ec9c (diff)
downloadrelx-7703e99c8ef26988242907ef3253470317330c8c.tar.gz
relx-7703e99c8ef26988242907ef3253470317330c8c.tar.bz2
relx-7703e99c8ef26988242907ef3253470317330c8c.zip
add templates
Diffstat (limited to 'priv/templates/vm_args.dtl')
-rw-r--r--priv/templates/vm_args.dtl19
1 files changed, 19 insertions, 0 deletions
diff --git a/priv/templates/vm_args.dtl b/priv/templates/vm_args.dtl
new file mode 100644
index 0000000..558ce39
--- /dev/null
+++ b/priv/templates/vm_args.dtl
@@ -0,0 +1,19 @@
+## Name of the node
+-name {{ rel_name }}@127.0.0.1
+
+## Cookie for distributed erlang
+-setcookie {{ rel_name }}
+
+## 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
+
+## Increase number of concurrent ports/sockets
+##-env ERL_MAX_PORTS 4096
+
+## Tweak GC to run more often
+##-env ERL_FULLSWEEP_AFTER 10