emqx/apps/emqx_recon
Zaiming Shi 80e1d6cc9d chore(apps): delete LICENSE files for apps 2020-12-08 22:28:46 +01:00
..
etc refactor(proj): Add apps 2020-12-04 22:11:53 +01:00
priv refactor(proj): Add apps 2020-12-04 22:11:53 +01:00
src Add more cleanups 2020-12-05 02:45:01 +01:00
test refactor(proj): Add apps 2020-12-04 22:11:53 +01:00
.gitignore refactor(proj): Add apps 2020-12-04 22:11:53 +01:00
README.md refactor(proj): Add apps 2020-12-04 22:11:53 +01:00
rebar.config chore(rebar): Delete profiles from apps' rebar.config 2020-12-05 13:36:56 +01:00

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.