62 lines
928 B
Markdown
62 lines
928 B
Markdown
|
|
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.
|
|
|