Page 1 of 2
Birdseye view makes my cpu go to +- 99 %
Posted: Thu Nov 06, 2014 3:40 am
by WillemDH
Hello,
Noticed today my Nagios XI was extremely slow. Doing a top showed apache user with httpd process was the cause. So I closed all my browsers, problem went away. Started browsers again and did not ahve any issues untill I opened Birdseye view again. See attachment. Cpu goes every time to 100 % and stays there while Birdseye view is opened.
See screenshot.
Willem
Re: Birdseye view makes my cpu go to +- 99 %
Posted: Thu Nov 06, 2014 10:33 am
by lmiltchev
I haven't been able to reproduce the issue in Nagios XI 2014R1.5. What is the version of the Birdseye component that you are currently using?
Admin->Manage Components
Do you have any errors in the apache error log when you click on the "Birdseye" link?
Re: Birdseye view makes my cpu go to +- 99 %
Posted: Fri Nov 14, 2014 3:59 pm
by WillemDH
Hey,
I've not been able to reproduce it. But I did notice Firefox consumes a lot more memory then Chrome. The firefox process needs extra memory continuously, even more then 1 GB if you leave the page open for half a day. Smells like some sort of memory leak. Could someone test for similar symptoms on Firefox? (Nagios XIR1.5) 5. i see this on my home dasboard, not birdseye.
Grtz
Willem
Re: Birdseye view makes my cpu go to +- 99 %
Posted: Mon Nov 17, 2014 11:02 am
by lmiltchev
Could someone test for similar symptoms on Firefox? (Nagios XIR1.5) 5. i see this on my home dasboard, not birdseye.
So, the way to try to recreate this would be to keep Firefox open for the half a day or so (the home dashboard page)? Then, one should see an apache cpu usage spike to 99%, correct?
Re: Birdseye view makes my cpu go to +- 99 %
Posted: Mon Nov 17, 2014 12:33 pm
by WillemDH
Yes correct, My home dashboard is full of stuff though , mostly nagios load related. So it might be one of the dashlets.
Re: Birdseye view makes my cpu go to +- 99 %
Posted: Mon Nov 17, 2014 12:36 pm
by abrist
Ah, can you test the birdseye view separate from the dash?
Any errors in the apache logs:
Re: Birdseye view makes my cpu go to +- 99 %
Posted: Tue Nov 18, 2014 4:15 pm
by WillemDH
Andy,
No errors during reload of Brirdeye View. I'm posting the error log anyway:
Code: Select all
[Tue Nov 18 15:27:11 2014] [error] [client xx.xx.xx.xx] PHP Notice: Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 175, referer: http://nagiosserver/nagiosxi/includes/components/ccm/xi-index.php
[Tue Nov 18 15:27:14 2014] [error] [client xx.xx.xx.xx] PHP Notice: Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 175, referer: http://nagiosserver/nagiosxi/includes/components/ccm/?cmd=view&type=hostgroup
[Tue Nov 18 15:27:20 2014] [error] [client xx.xx.xx.xx] PHP Notice: Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 175, referer: http://nagiosserver/nagiosxi/includes/components/ccm/index.php?cmd=modify&type=hostgroup&id=114&returnUrl=index.php%3Fcmd%3Dview%26type%3Dhostgroup
[Tue Nov 18 15:28:46 2014] [error] [client xx.xx.xx.xx] PHP Notice: Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 175, referer: http://nagiosserver/nagiosxi/includes/components/ccm/xi-index.php
[Tue Nov 18 15:29:22 2014] [error] [client xx.xx.xx.xx] PHP Notice: Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 175, referer: http://nagiosserver/nagiosxi/includes/components/ccm/xi-index.php
[Tue Nov 18 15:29:43 2014] [error] [client xx.xx.xx.xx] PHP Notice: Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 175, referer: http://nagiosserver/nagiosxi/includes/components/ccm/?cmd=modify&type=hostgroup&id=117&returnUrl=index.php%3Fcmd%3Dview%26type%3Dhostgroup
[Tue Nov 18 16:13:23 2014] [error] [client xx.xx.xx.xx] PHP Notice: Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 175, referer: http://nagiosserver/nagiosxi/includes/components/ccm/xi-index.php
[Tue Nov 18 16:13:23 2014] [error] [client xx.xx.xx.xx] PHP Notice: Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 195, referer: http://nagiosserver/nagiosxi/includes/components/ccm/xi-index.php
[Tue Nov 18 16:13:36 2014] [error] [client xx.xx.xx.xx] PHP Notice: Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 175, referer: http://nagiosserver/nagiosxi/includes/components/ccm/?cmd=view&type=service
[Tue Nov 18 16:13:36 2014] [error] [client xx.xx.xx.xx] PHP Notice: Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 195, referer: http://nagiosserver/nagiosxi/includes/components/ccm/?cmd=view&type=service
[Tue Nov 18 16:13:41 2014] [error] [client xx.xx.xx.xx] PHP Notice: Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 175, referer: http://nagiosserver/nagiosxi/includes/components/ccm/index.php
[Tue Nov 18 16:13:41 2014] [error] [client xx.xx.xx.xx] PHP Notice: Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 195, referer: http://nagiosserver/nagiosxi/includes/components/ccm/index.php
[Tue Nov 18 16:14:27 2014] [error] [client xx.xx.xx.xx] PHP Notice: Undefined variable: ac_needed_js_inject in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 175, referer: http://nagiosserver/nagiosxi/includes/components/ccm/index.php
[Tue Nov 18 16:14:27 2014] [error] [client xx.xx.xx.xx] PHP Notice: Undefined variable: sync_table_status in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/ccm_table.php on line 195, referer: http://nagiosserver/nagiosxi/includes/components/ccm/index.php
[Tue Nov 18 16:14:30 2014] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: template_name in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/common_settings.php on line 53, referer: http://nagiosserver/nagiosxi/includes/components/ccm/index.php
[Tue Nov 18 19:19:37 2014] [error] [client xx.xx.xx.xy] PHP Notice: Undefined index: units in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 182, referer: http://nagiosserver/nagiosxi/dashboards/dashboard.php?id=6n3f89tr
[Tue Nov 18 19:19:37 2014] [error] [client xx.xx.xx.xy] PHP Notice: Undefined variable: filter in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 182, referer: http://nagiosserver/nagiosxi/dashboards/dashboard.php?id=6n3f89tr
[Tue Nov 18 19:19:37 2014] [error] [client xx.xx.xx.xy] PHP Notice: Undefined index: names in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 183, referer: http://nagiosserver/nagiosxi/dashboards/dashboard.php?id=6n3f89tr
[Tue Nov 18 19:19:37 2014] [error] [client xx.xx.xx.xy] PHP Notice: Undefined variable: filter in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 183, referer: http://nagiosserver/nagiosxi/dashboards/dashboard.php?id=6n3f89tr
[Tue Nov 18 19:19:37 2014] [error] [client xx.xx.xx.xy] PHP Notice: Undefined index: units in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 182, referer: http://nagiosserver/nagiosxi/dashboards/dashboard.php?id=6n3f89tr
[Tue Nov 18 19:19:37 2014] [error] [client xx.xx.xx.xy] PHP Notice: Undefined variable: filter in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 182, referer: http://nagiosserver/nagiosxi/dashboards/dashboard.php?id=6n3f89tr
[Tue Nov 18 19:19:37 2014] [error] [client xx.xx.xx.xy] PHP Notice: Undefined index: names in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 183, referer: http://nagiosserver/nagiosxi/dashboards/dashboard.php?id=6n3f89tr
[Tue Nov 18 19:19:37 2014] [error] [client xx.xx.xx.xy] PHP Notice: Undefined variable: filter in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 183, referer: http://nagiosserver/nagiosxi/dashboards/dashboard.php?id=6n3f89tr
[Tue Nov 18 19:24:37 2014] [error] [client xx.xx.xx.xy] PHP Notice: Undefined index: units in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 182, referer: http://nagiosserver/nagiosxi/dashboards/dashboard.php?id=6n3f89tr
[Tue Nov 18 19:24:37 2014] [error] [client xx.xx.xx.xy] PHP Notice: Undefined variable: filter in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 182, referer: http://nagiosserver/nagiosxi/dashboards/dashboard.php?id=6n3f89tr
[Tue Nov 18 19:24:37 2014] [error] [client xx.xx.xx.xy] PHP Notice: Undefined index: names in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 183, referer: http://nagiosserver/nagiosxi/dashboards/dashboard.php?id=6n3f89tr
[Tue Nov 18 19:24:37 2014] [error] [client xx.xx.xx.xy] PHP Notice: Undefined variable: filter in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 183, referer: http://nagiosserver/nagiosxi/dashboards/dashboard.php?id=6n3f89tr
[Tue Nov 18 19:24:37 2014] [error] [client xx.xx.xx.xy] PHP Notice: Undefined index: units in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 182, referer: http://nagiosserver/nagiosxi/dashboards/dashboard.php?id=6n3f89tr
[Tue Nov 18 19:24:37 2014] [error] [client xx.xx.xx.xy] PHP Notice: Undefined variable: filter in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 182, referer: http://nagiosserver/nagiosxi/dashboards/dashboard.php?id=6n3f89tr
[Tue Nov 18 19:24:37 2014] [error] [client xx.xx.xx.xy] PHP Notice: Undefined index: names in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 183, referer: http://nagiosserver/nagiosxi/dashboards/dashboard.php?id=6n3f89tr
[Tue Nov 18 19:24:37 2014] [error] [client xx.xx.xx.xy] PHP Notice: Undefined variable: filter in /usr/local/nagiosxi/html/includes/components/graphexplorer/visFunctions.inc.php on line 183, referer: http://nagiosserver/nagiosxi/dashboards/dashboard.php?id=6n3f89tr
When I browse to
http://nagiosserver/nagiosxi/dashboards ... d=6n3f89tr I get "Unfortunately for you, that dashboard is not valid... Too bad. Dashboard ID: 6n3f89tr "
But this has nothing to do with the memory leak. ABout the memory leak:
I have Nagios open for 2:46 atm and memory reached 201 MB. I know that memory usage keeps rising untill my pc becomes very slow. And then I decide to use Chrome lol...
Grtz
Willem
Re: Birdseye view makes my cpu go to +- 99 %
Posted: Tue Nov 18, 2014 5:54 pm
by abrist
WillemDH,
I think it is time to move this to a ticket so we an see it in a remote session. Send an email to
[email protected] and we will get moving on this tomorrow.
Re: Birdseye view makes my cpu go to +- 99 %
Posted: Wed Nov 19, 2014 4:13 am
by WillemDH
Andy,
Ok I will open a ticket. I have some other long standing open issues too. Can you get a look at these too? One is for my timeline that has never worked, the other is for my hosts which are greyed out after a reboot untill I apply configuration. This evening, I have some stuff to do, so could the remote session be scheduled on Thursday 20/11 somewhere between 08:00 and 10:00 for you? See screenshot for meeting planner.
Grtz
Willem
Re: Birdseye view makes my cpu go to +- 99 %
Posted: Wed Nov 19, 2014 5:55 pm
by abrist
We are working with this through the ticket system. . .