Feng 10 лет назад
Родитель
Сommit
995949585b
2 измененных файлов с 3 добавлено и 7 удалено
  1. 1 3
      rel/files/emqttd.config.development
  2. 2 4
      rel/files/emqttd.config.production

+ 1 - 3
rel/files/emqttd.config.development

@@ -278,14 +278,12 @@
 
     %% Erlang System Monitor
     {sysmon, [
-        %% Log file.
-        {logfile, "log/emqttd_sysmon.log"},
 
         %% Long GC
         {long_gc, 100},
 
         %% Long Schedule(ms)
-        {long_schedule, 50},
+        {long_schedule, 100},
 
         %% 8M words. 32MB on 32-bit VM, 64MB on 64-bit VM.
         %% 8 * 1024 * 1024

+ 2 - 4
rel/files/emqttd.config.production

@@ -270,22 +270,20 @@
 
     %% Erlang System Monitor
     {sysmon, [
-        %% Log file.
-        {logfile, "log/emqttd_sysmon.log"},
 
         %% Long GC, don't monitor in production mode for:
         %% https://github.com/erlang/otp/blob/feb45017da36be78d4c5784d758ede619fa7bfd3/erts/emulator/beam/erl_gc.c#L421
         {long_gc, false},
 
         %% Long Schedule(ms)
-        {long_schedule, 100},
+        {long_schedule, true},
 
         %% 8M words. 32MB on 32-bit VM, 64MB on 64-bit VM.
         %% 8 * 1024 * 1024
         {large_heap, 8388608},
 
         %% Busy Port
-        {busy_port, true},
+        {busy_port, false},
 
         %% Busy Dist Port
         {busy_dist_port, true}