Update Dispatcher-Service.md (#11297)

Added a few lines about tuning the number of worker threads. Hope I got it right.
This commit is contained in:
Dag Bakke
2020-03-19 06:41:54 -05:00
committed by GitHub
parent da7f0299ad
commit 299ae36cd1
+9
View File
@@ -135,6 +135,15 @@ distributed_poller = true; # Set to true to enable
distributed_poller_name = null; # Uniquely identifies the poller instance
distributed_poller_group = 0; # Which group to poll
```
### Tuning the number of workers
See https://your_librenms_install/poller
You want to keep Consumed Worker Seconds comfortably below Maximum Worker Seconds. The closer the values are to each other, the flatter the CPU graph of the poller machine. Meaning that you are utilizing your CPU resources well. As long as Consumed WS stays below Maximum WS and Devices Pending is 0, you should be ok.
If Consumed WS is below Maximum WS and Devices Pending is > 0, your hardware is not up to the task.
Maximum WS equals the number of workers multiplied with the number of seconds in the polling period. (default 300)
# Fast Ping