aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/vm_args.dtl
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2014-03-11 12:06:57 +0100
committerJordan Wilberding <[email protected]>2014-03-11 12:06:57 +0100
commit6c962c924086fcfbc8b5e463aa6a50f1521a65f7 (patch)
tree4c24f70e61175744b6008a2f22331ef579a2cee8 /priv/templates/vm_args.dtl
parenteeeef1ef2648fa9815f0f61acbfe9576b2884890 (diff)
parentf32a0a44f2e0748122d90a708cbff0003762c2ba (diff)
downloadrelx-6c962c924086fcfbc8b5e463aa6a50f1521a65f7.tar.gz
relx-6c962c924086fcfbc8b5e463aa6a50f1521a65f7.tar.bz2
relx-6c962c924086fcfbc8b5e463aa6a50f1521a65f7.zip
Merge pull request #128 from nuex/dtl_scripts
Make scripts in rlx_prv_assembler DTL 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