Page 1 of 1

CPU load average is going high such that 114

Posted: Tue Feb 11, 2014 6:40 am
by Rupender
I have Nagiosxi 2012R2.8c installed on Centos 5.4, 32 bit os which is on VMware platform.
I have also increase the RAM 16 GB and
After adding around 100 machine in it. it's CPU load average is going to high and also creating Zombie process.

We have restarted but no luck . please help

please find the attachment.

And following are the logs in /var/log/messages



Feb 11 05:27:35 localusarad nagios: SERVICE ALERT: www.yahoo.com;Sample Web Transaction;CRITICAL;SOFT;2;(Service Check Timed Out)
Feb 11 05:27:36 localusarad ndo2db: Error: mysql_query() failed for 'INSERT INTO nagios_statehistory SET instance_id='1', state_time=FROM_UNIXTIME(1392114455), state_time_usec='855633', object_id='108', state_change='1', state='2', state_type='0', current_check_attempt='2', max_check_attempts='5', last_state='2', last_hard_state='0', output='\(Service Check Timed Out\)', long_output='\(Service Check Timed Out\)''
Feb 11 05:27:36 localusarad ndo2db: mysql_error: 'Table './nagios/nagios_statehistory' is marked as crashed and last (automatic?) repair failed'

Feb 11 06:31:50 localusarad ndo2db: mysql_error: 'Table './nagios/nagios_statehistory' is marked as crashed and last (automatic?) repair failed'
Feb 11 06:31:58 localusarad nagios: Warning: Service performance data file processing command '/bin/mv /usr/local/nagios/var/service-perfdata /usr/local/nagios/var/spool/xidpe/1392118311.perfdata.service' timed out after 5 seconds
Feb 11 06:33:13 localusarad nagios: Warning: Service performance data file processing command '/bin/mv /usr/local/nagios/var/service-perfdata /usr/local/nagios/var/spool/xidpe/1392118376.perfdata.service' timed out after 5 seconds
Feb 11 06:33:19 localusarad nagios: Warning: Host performance data file processing command '/bin/mv /usr/local/nagios/var/host-perfdata /usr/local/nagios/var/spool/xidpe/1392118393.perfdata.host' timed out after 5 seconds
Feb 11 06:33:22 localusarad nagios: SERVICE ALERT: PRT_INT_2010_Domain Controler 2 BES;Virtual Memory Usage;CRITICAL;HARD;1;(Service Check Timed Out)

Re: CPU load average is going high such that 114

Posted: Tue Feb 11, 2014 10:33 am
by slansing
Memory won't help CPU issues in most cases, what CPU and how many cores are you running? It looks like you have some crashed tables, so lets start with them as well:

http://assets.nagios.com/downloads/nagi ... tabase.pdf