Mod Gearman Performance Issues Nagios 2014R2.6

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Mod Gearman Performance Issues Nagios 2014R2.6

Post by cmerchant »

Could you supply us with the rest of the performance metrics? Admin --> Monitoring Engine Status --> and take screen shot of the whole screen

specifically Monitoring Engine Check Statistics and Monitoring Engine Performance.

I would be interested in the service time avg and service time latency.. Thanks.

I'm sure you are referring to this document:

http://nagios.sourceforge.net/docs/nagi ... weaks.html
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Mod Gearman Performance Issues Nagios 2014R2.6

Post by rajasegar »

cmerchant wrote:Could you supply us with the rest of the performance metrics? Admin --> Monitoring Engine Status --> and take screen shot of the whole screen

specifically Monitoring Engine Check Statistics and Monitoring Engine Performance.

I would be interested in the service time avg and service time latency.. Thanks.

I'm sure you are referring to this document:

http://nagios.sourceforge.net/docs/nagi ... weaks.html
http://albertolarripa.com/2013/03/03/nagios-tuning/
2015-04-01_07-14-42.png
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Mod Gearman Performance Issues Nagios 2014R2.6

Post by Box293 »

rajasegar wrote:Please advise if the following will help our performance

use_large_installation_tweaks=1 (already in place)
enable_environment_macros=0
free_child_process_memory=0
child_processes_fork_twice=0
check_result_reaper_frequency=3
max_check_result_reaper_time=10
I've performed load testing before and I've found that these two settings do give better performance:

check_result_reaper_frequency=3
max_check_result_reaper_time=10

"Better performance" is somewhat hard to measure but I did notice the load average drop.

This is outlined in: http://assets.nagios.com/downloads/nagi ... rmance.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Mod Gearman Performance Issues Nagios 2014R2.6

Post by rajasegar »

Box293 wrote:
rajasegar wrote:Please advise if the following will help our performance

use_large_installation_tweaks=1 (already in place)
enable_environment_macros=0
free_child_process_memory=0
child_processes_fork_twice=0
check_result_reaper_frequency=3
max_check_result_reaper_time=10
I've performed load testing before and I've found that these two settings do give better performance:

check_result_reaper_frequency=3
max_check_result_reaper_time=10

"Better performance" is somewhat hard to measure but I did notice the load average drop.

This is outlined in: http://assets.nagios.com/downloads/nagi ... rmance.pdf
Thanks. Will try it out.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Mod Gearman Performance Issues Nagios 2014R2.6

Post by cmerchant »

Thank box293 for that info. OP, Let us know how those parameters work for you. We'll leave this thread open for now.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Mod Gearman Performance Issues Nagios 2014R2.6

Post by rajasegar »

cmerchant wrote:Thank box293 for that info. OP, Let us know how those parameters work for you. We'll leave this thread open for now.
No difference since applying the parameters.

Here is the latest situation after adding 3 load balancers.
2015-04-07_16-21-45.png
2015-04-07_16-20-23.png
What is screwing up the scheduling rate?

For comparison here is another instance with a quarter of the load and no gearman.
2015-04-07_16-21-05.png
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Mod Gearman Performance Issues Nagios 2014R2.6

Post by rajasegar »

Now the graph is practically empty. Is this some kind of display issue?
How do I check if everything is ok?
2015-04-07_16-39-21.png
2015-04-07_16-39-33.png
You do not have the required permissions to view the files attached to this post.
Last edited by rajasegar on Tue Apr 07, 2015 6:09 pm, edited 1 time in total.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Mod Gearman Performance Issues Nagios 2014R2.6

Post by scottwilkerson »

One change that happened between these versions was a change to the auto_rescheduling_window nagios.cfg setting

The previous setting was

Code: Select all

auto_rescheduling_window=180
I would change this back to 180 as it definitely could be causing the issues if you have some longer running mod_gearman checks

then restart nagios

Code: Select all

service nagios restart
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Mod Gearman Performance Issues Nagios 2014R2.6

Post by rajasegar »

scottwilkerson wrote:One change that happened between these versions was a change to the auto_rescheduling_window nagios.cfg setting

The previous setting was

Code: Select all

auto_rescheduling_window=180
I would change this back to 180 as it definitely could be causing the issues if you have some longer running mod_gearman checks

then restart nagios

Code: Select all

service nagios restart

Yes, we do have some long running checks.
Will try this setting out out now.
Currently it is set as 45.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Mod Gearman Performance Issues Nagios 2014R2.6

Post by rajasegar »

Same problem. The load also shot up considerably.
2015-04-08_07-32-52.png
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
Locked