The queue may very well build up if a lot of checks are being run, but it should go back down after a bit. Is the problem that the queue never clears, or that it sometimes isn't at 0?
Can you also address the other questions from @bheden's last post? In particular if you increased the results worker in the NEB config.
gearman - a lot JOBs waiting
Re: gearman - a lot JOBs waiting
Former Nagios employee
Re: gearman - a lot JOBs waiting
I did it in the worker config
the problem is that sometimes the queue builds up and stays high and doesn't go down for a considerable amount of time. it doesn't seem to be able to catch up
the problem is that sometimes the queue builds up and stays high and doesn't go down for a considerable amount of time. it doesn't seem to be able to catch up
-
bheden
- Product Development Manager
- Posts: 179
- Joined: Thu Feb 13, 2014 9:50 am
- Location: Nagios Enterprises
Re: gearman - a lot JOBs waiting
Open up your NEB config, (/etc/mod_gearman/mod_gearman_neb.conf for ModGearman v1 or /etc/mod_gearman2/module.conf for ModGearman v2) and find the line that says
Change this line to
Let us know if this stops the hang ups. Thanks.
Code: Select all
result_workers=1Code: Select all
result_workers=2As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Nagios Enterprises
Senior Developer
Nagios Enterprises
Senior Developer
Re: gearman - a lot JOBs waiting
I already had that setting. I am having at some point in the past I made that change.
for the last two days the queues have been stable
for the last two days the queues have been stable
Re: gearman - a lot JOBs waiting
It's hard to say what's causing the queue to go up, but generally this will happen when there is a network outage and many hosts/services go down at once. This causes checks to be run more frequently, usually from every 5 minutes down to every minute. Do the jumps in the queue coincide with any network events you can identify?
Former Nagios employee
Re: gearman - a lot JOBs waiting
I haven't been good at capturing the different events. i will start..
queue has been good for the last few days.
this is so weird
queue has been good for the last few days.
this is so weird
Re: gearman - a lot JOBs waiting
Sounds good - let us know if there is any further assistance you need from us.
Former Nagios Employee