Page 1 of 1

Mod_gearman2 problem

Posted: Tue Apr 03, 2018 4:03 am
by Morton
We seem to be having a problem with what I believe is mod_gearman.
running centos 7.3.1611 64 bit
In a vmware environment

It looks like jobs are getting passed to the worker nodes by the master but not being received so the check times out.
No failures can be found on any of the worker nodes for the timeout and it happens with random checks.

Re: Mod_gearman2 problem

Posted: Tue Apr 03, 2018 11:04 am
by cdienger
What is the error message you're receiving and where are you seeing it? Is it happening for specific checks or is it random?

Logging can be enabled in the /etc/mod_gearman2/module.conf by changing the debug line. Setting it to 1 would be a good place to start but you may need to increase if it doesn't provide enough info:

debug=1

Restarting the service is needed before the logs will be written to /var/log/mod_gearman2/mod_gearman_neb.log:

service nagios stop
service mod-gearman2-worker stop
service gearmand stop


service gearmand start
service mod-gearman2-worker start
service nagios start