gearman_top2
Posted: Tue Feb 06, 2018 8:52 am
I have a couple of questions about the output of gearman_top2 command, specifically the worker queues:
We never see any figures (other than 0) for jobs waiting, jobs running against any of our worker queues. Is that the expected result?
I understand that for example in the case of a service check, Mod-Gearman puts the job into the service queue; A worker grabs the job and puts back the result into the check_results queue and Mod-Gearman grabs the result job and puts back the result onto the check result list.
Below is an example of the output we normally see.
If we stop the worker on worker3 for example we will see worker available =0 but we won't see any increments in jobs waiting or jobs running against this server. Is this expected behaviour?
We never see any figures (other than 0) for jobs waiting, jobs running against any of our worker queues. Is that the expected result?
I understand that for example in the case of a service check, Mod-Gearman puts the job into the service queue; A worker grabs the job and puts back the result into the check_results queue and Mod-Gearman grabs the result job and puts back the result onto the check result list.
Below is an example of the output we normally see.
Code: Select all
Queue Name | Worker Available | Jobs Waiting | Jobs Running
---------------------------------------------------------------------------------
check_results | 1 | 0 | 0
eventhandler | 22 | 0 | 0
host | 22 | 0 | 0
service | 22 | 0 | 1
worker_worker1 | 1 | 0 | 0
worker_worker2 | 1 | 0 | 0
worker_worker3 | 1 | 0 | 0
---------------------------------------------------------------------------------