Recon debug/optimize plugin
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
etc
priv Refactor for emqx 3.0 Feb 6, 2018
src
test
.gitignore
LICENSE
Makefile Fixed typo Oct 9, 2018
README.md
erlang.mk
rebar.config

README.md

emqx-recon

EMQ X Recon Debug/Optimize Plugin

emqx_recon.conf ----=----------

## Global GC Interval.
##
## Value: Duration
##  - h: hour
##  - m: minute
##  - s: second
##
## Examples:
##  - 2h:  2 hours
##  - 30m: 30 minutes
##  - 20s: 20 seconds
##
## Defaut: 5m
recon.gc_interval = 5m

Load the Plugin

./bin/emqx_ctl plugins load emqx_recon

Commands

./bin/emqx_ctl recon

recon memory                            #recon_alloc:memory/2
recon allocated                         #recon_alloc:memory(allocated_types, current|max)
recon bin_leak                          #recon:bin_leak(100)
recon node_stats                        #recon:node_stats(10, 1000)
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.