From 299ae36cd113be5ff622c0b9b73acc8e12dc78d0 Mon Sep 17 00:00:00 2001 From: Dag Bakke Date: Thu, 19 Mar 2020 12:41:54 +0100 Subject: [PATCH] Update Dispatcher-Service.md (#11297) Added a few lines about tuning the number of worker threads. Hope I got it right. --- doc/Extensions/Dispatcher-Service.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/Extensions/Dispatcher-Service.md b/doc/Extensions/Dispatcher-Service.md index d7b1910857..2d9dc980ed 100644 --- a/doc/Extensions/Dispatcher-Service.md +++ b/doc/Extensions/Dispatcher-Service.md @@ -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