From: Peter Lemenkov <lemenkov@gmail.com>
Date: Tue, 23 Jul 2019 15:30:08 +0200
Subject: [PATCH] Disable erl_crash.dump generation for EPMD checker
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
diff --git a/src/rabbit_nodes_common.erl b/src/rabbit_nodes_common.erl
index 63c35ec..6d41141 100644
--- a/src/rabbit_nodes_common.erl
+++ b/src/rabbit_nodes_common.erl
@@ -90,7 +90,8 @@ do_ensure_epmd(Exe, _) ->
"-sname", rabbit_misc:format("epmd-starter-~b", [ID]),
"-proto_dist", rabbit_misc:format("~p", [ProtoDist]),
"-noinput", "-s", "erlang", "halt"]},
- exit_status, stderr_to_stdout, use_stdio]),
+ exit_status, stderr_to_stdout, use_stdio,
+ {env, [{"ERL_CRASH_DUMP_SECONDS", "0"}]}]),
port_shutdown_loop(Port).
port_shutdown_loop(Port) ->