summaryrefslogtreecommitdiff
path: root/rel/overlay/etc
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-08-27 12:40:03 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-08-27 12:40:03 -0400
commitbce619cbf5a720e409de9f05387c10e86586ba26 (patch)
tree38d241ee01619ac4db006c9ec0e794acb5a1ce15 /rel/overlay/etc
parentf0d05161f569763dc8d00e5149009e6e92f2cebb (diff)
read Erlang VM arguments from config file
Diffstat (limited to 'rel/overlay/etc')
-rw-r--r--rel/overlay/etc/vm.args22
1 files changed, 22 insertions, 0 deletions
diff --git a/rel/overlay/etc/vm.args b/rel/overlay/etc/vm.args
new file mode 100644
index 00000000..29ae50f8
--- /dev/null
+++ b/rel/overlay/etc/vm.args
@@ -0,0 +1,22 @@
+# Each node in the system must have a unique name. A name can be short
+# (specified using -sname) or it can by fully qualified (-name). There can be
+# no communication between nodes running with the -sname flag and those running
+# with the -name flag.
+{{node_name}}
+
+# All nodes must share the same magic cookie for distributed Erlang to work.
+# Comment out this line if you synchronized the cookies by other means (using
+# the ~/.erlang.cookie file, for example).
+-setcookie monster
+
+# Tell SASL not to log progress reports
+-sasl errlog_type error
+
+# Use kernel poll functionality if supported by emulator
++K true
+
+# Start a pool of asynchronous IO threads
++A 16
+
+# Uncomment this line to disable the interactive Erlang shell
+# +Bd -noinput