Page 1 of 1

mod_gearman worker error

Posted: Fri Jun 17, 2016 4:40 am
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

Re: mod_gearman worker error

Posted: Fri Jun 17, 2016 12:46 pm
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

Re: mod_gearman worker error

Posted: Thu Aug 11, 2016 2:22 am
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