dgiot/apps/emqx_recon
2021-07-22 11:28:47 +08:00
..
etc add linux_4.3.1 2021-05-18 14:54:48 +08:00
priv add linux_4.3.1 2021-05-18 14:54:48 +08:00
src change deps lib to gitee 2021-07-22 11:28:47 +08:00
test add linux_4.3.1 2021-05-18 14:54:48 +08:00
.gitignore add linux_4.3.1 2021-05-18 14:54:48 +08:00
README.md add linux_4.3.1 2021-05-18 14:54:48 +08:00
rebar.config add new project 2021-05-22 03:06:00 +09:00

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.