Page 1 of 1
Nagios process high CPU usage
Posted: Tue Jun 28, 2016 10:14 am
by amit.ahuja
Hi, we are having some problem with the nagios process. We are experiencing server slowness now, and we figured that the cpu usage of nagios process was increased to 100 every 5 to 10 mins. The odd thing is that 2 or 3 nagios processes were running and all of them have like 99 percent cpu usage. Please see the attach screenshot. Thanks in advance for any suggestion and help.
6-28-2016 11-08-20 AM.png
6-28-2016 11-08-30 AM.png
Re: Nagios process high CPU usage
Posted: Tue Jun 28, 2016 12:42 pm
by bwallace
A better way to check for multiple nagios processes is to run
ps - aef | grep nagios.cfg
# Look for multiple parent (PPID) processes. The Nagios process forks itself to run checks therefore subprocesses are normal
# The nagios user should probably be the only owner of the nagios process
# 'service nagios restart' will still leave the extra Nagios processes running, so this is not an option
If there are multiple Nagios processes running, this can cause problems. To resolve, run these commands
Code: Select all
service nagios stop
killall -9 nagios
service nagios start
Beyond that, how many services are configured and what are the specs of the XI machine, resource - wise?
Re: Nagios process high CPU usage
Posted: Tue Jul 12, 2016 7:24 am
by amit.ahuja
Thanks for the reply, we removed some services in Nagios, and this issue got resolved.
Re: Nagios process high CPU usage
Posted: Tue Jul 12, 2016 9:10 am
by mcapra
Is it alright if we lock this thread?