From 4d6c1781addaf0aca31b2486c84de938f5cb593b Mon Sep 17 00:00:00 2001 From: Hans Svensson Date: Thu, 7 May 2020 15:51:17 +0200 Subject: [PATCH] Less panic (in emqttd) when mnesia log dump is overloaded + better configuration to get less of the messages in the first place --- rebar.lock | 2 +- vm.args | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rebar.lock b/rebar.lock index c972e7c5d..e9a99f0c7 100644 --- a/rebar.lock +++ b/rebar.lock @@ -43,7 +43,7 @@ 0}, {<<"emqttd">>, {git,"git://github.com/NYNJA-MC/emqttd", - {ref,"5e2342bf7ae597804a6f9234a54cad2f6b5761d1"}}, + {ref,"44352b2d4ea3fa0d41120c4310b149a0ca66a18a"}}, 0}, {<<"enenra">>, {git,"https://github.com/nlfiedler/enenra", diff --git a/vm.args b/vm.args index 680cfff5f..33be6d350 100644 --- a/vm.args +++ b/vm.args @@ -1,7 +1,8 @@ +W w -kernel net_ticktime 60 -env ERL_CRASH_DUMP log/crash.dump --mnesia dc_dump_limit 10 +-mnesia dc_dump_limit 20 +-mnesia dump_log_write_threshold 50000 +Q 524288 +A 32 +K true -- GitLab