Blob Blame History Raw
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 e1932cc..bbad52e 100644
--- a/src/rabbit_nodes_common.erl
+++ b/src/rabbit_nodes_common.erl
@@ -89,7 +89,8 @@ do_ensure_epmd(Exe, _) ->
              [{args, ["-sname", rabbit_misc:format("epmd-starter-~b", [ID]),
                       "-proto_dist", rabbit_misc:format("~p", [ProtoDist]),
                       "-noshell", "-eval", "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) ->