aboutsummaryrefslogtreecommitdiff
path: root/rel/vm.args.mix
diff options
context:
space:
mode:
Diffstat (limited to 'rel/vm.args.mix')
-rw-r--r--rel/vm.args.mix14
1 files changed, 14 insertions, 0 deletions
diff --git a/rel/vm.args.mix b/rel/vm.args.mix
new file mode 100644
index 000000000..711bd3189
--- /dev/null
+++ b/rel/vm.args.mix
@@ -0,0 +1,14 @@
+## Customize flags given to the VM: https://erlang.org/doc/man/erl.html
+## -mode/-name/-sname/-setcookie are configured via env vars, do not set them here
+
+-boot ../releases/<%= @version %>/start_clean
+-boot_var RELEASE_LIB ../lib
+
+## Number of dirty schedulers doing IO work (file, sockets, and others)
+##+SDio 5
+
+## Increase number of concurrent ports/sockets
+##+Q 65536
+
+## Tweak GC to run more often
+##-env ERL_FULLSWEEP_AFTER 10