项目作者: emqx

项目描述 :
Recon debug/optimize plugin
高级语言: Erlang
项目地址: git://github.com/emqx/emqx-recon.git
创建时间: 2015-08-21T04:15:45Z
项目社区:https://github.com/emqx/emqx-recon

开源协议:Apache License 2.0

下载


emqx-recon

EMQ X Recon Debug/Optimize Plugin

emqx_recon.conf

  1. ## Global GC Interval.
  2. ##
  3. ## Value: Duration
  4. ## - h: hour
  5. ## - m: minute
  6. ## - s: second
  7. ##
  8. ## Examples:
  9. ## - 2h: 2 hours
  10. ## - 30m: 30 minutes
  11. ## - 20s: 20 seconds
  12. ##
  13. ## Defaut: 5m
  14. recon.gc_interval = 5m

Load the Plugin

  1. ./bin/emqx_ctl plugins load emqx_recon

Commands

  1. ./bin/emqx_ctl recon
  2. recon memory #recon_alloc:memory/2
  3. recon allocated #recon_alloc:memory(allocated_types, current|max)
  4. recon bin_leak #recon:bin_leak(100)
  5. recon node_stats #recon:node_stats(10, 1000)
  6. recon remote_load Mod #recon:remote_load(Mod)

GC

When the plugin is loaded, global GC will run periodically.

License

Apache License Version 2.0

Author

EMQ X Team.