Blame rabbitmq-common-0003-Disable-erl_crash.dump-generation-for-EPMD-checker.patch
|
|
a1fb4b |
From: Peter Lemenkov <lemenkov@gmail.com>
|
|
|
a1fb4b |
Date: Tue, 23 Jul 2019 15:30:08 +0200
|
|
|
a1fb4b |
Subject: [PATCH] Disable erl_crash.dump generation for EPMD checker
|
|
|
a1fb4b |
|
|
|
a1fb4b |
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
|
|
|
a1fb4b |
|
|
|
a1fb4b |
diff --git a/src/rabbit_nodes_common.erl b/src/rabbit_nodes_common.erl
|
|
|
a1fb4b |
index d456ec7..71786da 100644
|
|
|
a1fb4b |
--- a/src/rabbit_nodes_common.erl
|
|
|
a1fb4b |
+++ b/src/rabbit_nodes_common.erl
|
|
|
a1fb4b |
@@ -89,7 +89,8 @@ ensure_epmd() ->
|
|
|
a1fb4b |
"-sname", rabbit_misc:format("epmd-starter-~b", [ID]),
|
|
|
a1fb4b |
"-proto_dist", rabbit_misc:format("~p", [ProtoDist]),
|
|
|
a1fb4b |
"-noinput", "-s", "erlang", "halt"]},
|
|
|
a1fb4b |
- exit_status, stderr_to_stdout, use_stdio]),
|
|
|
a1fb4b |
+ exit_status, stderr_to_stdout, use_stdio,
|
|
|
a1fb4b |
+ {env, [{"ERL_CRASH_DUMP_SECONDS", "0"}]}]),
|
|
|
a1fb4b |
port_shutdown_loop(Port).
|
|
|
a1fb4b |
|
|
|
a1fb4b |
port_shutdown_loop(Port) ->
|