Higher CPU utilization after upgrade to 5.5.1

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Kujab
Posts: 23
Joined: Mon Jan 16, 2012 6:06 am

Higher CPU utilization after upgrade to 5.5.1

Post by Kujab »

Hello,
I can see higher CPU utilization after upgrade to 5.5.1 on 19th of July.
Previous values were about 0,7. After upgrade it's constantly above 1.
Is that correct? Or anything wrong?
Best regards
Jakub
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Higher CPU utilization after upgrade to 5.5.1

Post by scottwilkerson »

Can you post the output of the following

Code: Select all

ps -ef|grep nagios.cfg
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Kujab
Posts: 23
Joined: Mon Jan 16, 2012 6:06 am

Re: Higher CPU utilization after upgrade to 5.5.1

Post by Kujab »

This is output:
[root@localhost ~]# ps -ef|grep nagios.cfg
root 17773 13519 0 09:12 pts/0 00:00:00 grep nagios.cfg
nagios 23565 1 0 Jul22 ? 00:32:34 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 24289 23565 0 Jul22 ? 00:00:10 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 26157 1 0 Jul16 ? 01:45:12 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 26225 26157 0 Jul16 ? 00:00:34 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
[root@localhost ~]#
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Higher CPU utilization after upgrade to 5.5.1

Post by scottwilkerson »

You have 2 nagios parent processes.

Run the following

Code: Select all

service nagios stop
killall -9 nagios
service nagios start
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Kujab
Posts: 23
Joined: Mon Jan 16, 2012 6:06 am

Re: Higher CPU utilization after upgrade to 5.5.1

Post by Kujab »

After killing processes it looks like this:

Code: Select all

[root@localhost ~]# ps -ef|grep nagios.cfg
nagios    8551     1  3 14:29 ?        00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios    8655  8551  0 14:29 ?        00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root     10515 13519  0 14:29 pts/0    00:00:00 grep nagios.cfg
[root@localhost ~]#
Load average is still higher. I will monitore that for one day.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Higher CPU utilization after upgrade to 5.5.1

Post by scottwilkerson »

Kujab wrote:After killing processes it looks like this:

Code: Select all

[root@localhost ~]# ps -ef|grep nagios.cfg
nagios    8551     1  3 14:29 ?        00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios    8655  8551  0 14:29 ?        00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root     10515 13519  0 14:29 pts/0    00:00:00 grep nagios.cfg
[root@localhost ~]#
Load average is still higher. I will monitore that for one day.
That looks better it should start to drop, will take a bit of time..

Let us know how it turns out
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Kujab
Posts: 23
Joined: Mon Jan 16, 2012 6:06 am

Re: Higher CPU utilization after upgrade to 5.5.1

Post by Kujab »

Looks better:
20180725 - localhost-current_load.png
Also processes are still the same:
[root@localhost ~]# ps -ef|grep nagios.cfg
nagios 8551 1 1 Jul24 ? 00:12:53 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 8655 8551 0 Jul24 ? 00:00:03 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 13041 10146 0 09:01 pts/0 00:00:00 grep nagios.cfg
[root@localhost ~]#

I suppose we can close this ticket.

Should be fixed in upgrade procedure, it never happened before.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Higher CPU utilization after upgrade to 5.5.1

Post by scottwilkerson »

Kujab wrote:Looks better:
20180725 - localhost-current_load.png
Also processes are still the same:
[root@localhost ~]# ps -ef|grep nagios.cfg
nagios 8551 1 1 Jul24 ? 00:12:53 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 8655 8551 0 Jul24 ? 00:00:03 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
root 13041 10146 0 09:01 pts/0 00:00:00 grep nagios.cfg
[root@localhost ~]#

I suppose we can close this ticket.

Should be fixed in upgrade procedure, it never happened before.

Great Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked