mod_gearman worker error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
delboy1966
Posts: 98
Joined: Thu Oct 22, 2015 5:26 am

mod_gearman worker error

Post by delboy1966 »

I am running the following

Nagios 4.1.1
mod_gearman-1.4_nagios4-1.el6.x86_64
gearmand-server-0.25-1.x86_64

I have 5 gearman workder nodes do the checks from Nagios.
And everyday I'm getting this in the output of a lot of checks:

service check orphaned, is the mod-gearman worker on queue 'service' running?

I find that restarting the workers on the worker nodes clears it.
But would prefer to find and resolve the cause.

I did see another thread suggesting changing:

use_retained_scheduling_info=0

In the nagios.cfg file, which I did but this hasn't cured it.

Has anyone seen or had this before?

Thanks
Tony
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: mod_gearman worker error

Post by tgriep »

Have you tried to upgrade to the latest version of mod_gearman to see if that fixes the issue?
The changelog says there are some file / memory leaks that could cause the issue you are having.
https://github.com/sni/mod_gearman/blob/master/Changes
Be sure to check out our Knowledgebase for helpful articles and solutions!
delboy1966
Posts: 98
Joined: Thu Oct 22, 2015 5:26 am

Re: mod_gearman worker error

Post by delboy1966 »

Sorry for the delay in responding back to update on your suggestion.

I did eventually upgrade to the latest version and the problem seems to have been resolved.
Thanks for your help.

Happy for this to be marked as resolved now.

Tony
Locked