postgres High CPU - Nagios Freeze

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
oslec
Posts: 55
Joined: Mon Jan 14, 2013 5:19 pm

postgres High CPU - Nagios Freeze

Post by oslec »

Hi,

Anybody help me ?

Server 10 Cores - Xeon 2.2Ghz - 10GB RAM
Hosts : 2,465 Services: 12,500

The GUI when use the bulk import its very slow..and freeze all system.

HTOP:
postgres : nagiosxi nagiosxi [local] SELECT 53% CPU
postgres : nagiosxi nagiosxi [local] SELECT 22% CPU

Why postgres consume CPU ?

Regards!
Sergio


--------------------------MERGED------------------------

Update..

I see a lot of process..

/usr/bin/php /usr/local/nagiosxi/scripts/handle_nagioscore_event.php....
/usr/bin/php /usr/local/nagiosxi/scripts/handle_nagioscore_event.php...
/usr/bin/php /usr/local/nagiosxi/scripts/handle_nagioscore_event.php....
/usr/bin/php /usr/local/nagiosxi/scripts/handle_nagioscore_event.php....
.... x 50..

and

postgres: nagiosxi nagiosxi [local] INSERT
postgres: nagiosxi nagiosxi [local] INSERT
postgres: nagiosxi nagiosxi [local] INSERT
postgres: nagiosxi nagiosxi [local] INSERT
postgres: nagiosxi nagiosxi [local] INSERT
postgres: nagiosxi nagiosxi [local] INSERT.....

The CPUs goes to 80% ...and the Web Interface go down....


Any idea ?

Regards!
Sergio

--------------------------MERGED------------------------


Hi,

Anybody ?

Regards!
Sergio
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: postgres High CPU - Nagios Freeze

Post by slansing »

Closing thread as a ticket was opened -Ticket#2014082910000155-. Also, please note we work between the hours of 9:00AM-5:00PM CDT Monday - Friday.
Locked