| 12345678910111213141516171819202122232425 |
- ##--------------------------------------------------------------------
- ## Overload Protection
- ##
- ## Monitoring the load of the system and temporarily disable some features when the load is high
- ##--------------------------------------------------------------------
- ## Note: This is an example of how to configure this feature
- ## you should copy and paste the below data into the emqx.conf for working
- ## Note: Do not modify this unless you know what this is for
- overload_protection {
- ## set true to enable this
- enable = false
- ## Maximum duration of delay for background task execution during high load conditions
- backoff_delay = 1
- ## When at high load, skip forceful GC
- backoff_gc = false
- ## When at high load, skip process hibernation
- backoff_hibernation = true
- ## When at high load, close new incoming connections
- backoff_new_conn = true
- }
|