Lots of broken images in Graphs tab
Moderators: Developers, Moderators
Lots of broken images in Graphs tab
I can see all of my graphs when in Graph managment and sometimes even in the Graphs tab (not console), but this morning I'm getting lots of broken images again. You can right click on them and click show picture and it reloads the graph the way it should be there. It's not that my rrdtool is broken or anything, it almost seems like my PHP is giving up early on generating stuff.
I thought I had my php tuned ok to prevent this, but alas it is still happening. I'm running IIS5 on Server 2000. PHP is running as a CGI, not ISAPI.
Guest login available here: http://stats.kjake.net to look for yourself.
I thought I had my php tuned ok to prevent this, but alas it is still happening. I'm running IIS5 on Server 2000. PHP is running as a CGI, not ISAPI.
Guest login available here: http://stats.kjake.net to look for yourself.
This was really my post, but I think my session expired and just posted as Guest.
http://stats.kjake.net/graph_view.php?a ... leaf_id=12
http://stats.kjake.net/graph_view.php?a ... leaf_id=12
-
- Cacti User
- Posts: 311
- Joined: Tue Jun 29, 2004 12:52 pm
- Location: Indiana
I kept clicking on the differant graphs and after about 2 minutes, all of them showed up on the main page. My guess is that PHP can not create the graphs fast enough since you have so many all on 1 page. I would advise either exporting these graphs, or creating sub-trees in your graph tree so you don't have quite so many graphs all on 1 page.
Dave
heh, look at that...it has problems writing the static pages too?
http://stats.kjake.net/graphs/
I used to use routers.cgi with RRDTool, but it was ugly and a pain to configure. This is the first I've seen PHP have a problem, but I didn't have this many graphs going before.
The webserver is a 1.5Ghz AthlonXP with 512MB of Registered ECC RAM. Is there something more I can do to tune PHP's performance? It really seems like it's the one having a problem...
http://stats.kjake.net/graphs/
I used to use routers.cgi with RRDTool, but it was ugly and a pain to configure. This is the first I've seen PHP have a problem, but I didn't have this many graphs going before.
The webserver is a 1.5Ghz AthlonXP with 512MB of Registered ECC RAM. Is there something more I can do to tune PHP's performance? It really seems like it's the one having a problem...
This is interesting...it must have exported a couple times now and the same graphs are broken as the first time it exported the static pages/images.
Is this a sign that cacti is having an issue? And it's only the summary graphs. When you click through a graph to see a 5,30,mo,yr set, they're all there. Is there a known issue with generating summary graphs?
Is this a sign that cacti is having an issue? And it's only the summary graphs. When you click through a graph to see a 5,30,mo,yr set, they're all there. Is there a known issue with generating summary graphs?
Things have gone from bad to horrible. Now none of the thumbs are generating and I see this in the output of running cmd.php:
Code: Select all
export: running graph export
<font color=ff0000><br />
<b>Notice</b>: Undefined variable: regexps in <b>D:\public_html\stats\lib\rrd.php</b> on line <b>309</b><br /></font><font color=ff0000><br />
<b>Notice</b>: Undefined variable: fetch_array in <b>D:\public_html\stats\lib\rrd.php</b> on line <b>324</b><br /></font>
ERROR: start (1092026282) should be less than end (1092024000)
ERROR: start (1092026282) should be less than end (1092024000)
ERROR: start (1092026283) should be less than end (1092024000)
ERROR: start (1092026283) should be less than end (1092024000)
ERROR: step must be >= 1 second
ERROR: start (1092026283) should be less than end (1092024000)
ERROR: step must be >= 1 second
ERROR: start (1092026283) should be less than end (1092024000)
ERROR: step must be >= 1 second
ERROR: start (1092026284) should be less than end (1092024000)
ERROR: start (1092026284) should be less than end (1092024000)
ERROR: start (1092026284) should be less than end (1092024000)
ERROR: start (1092026284) should be less than end (1092024000)
ERROR: start (1092026285) should be less than end (1092024000)
ERROR: start (1092026285) should be less than end (1092024000)
ERROR: step must be >= 1 second
<font color=ff0000><br /><b>Notice</b>: Undefined variable: target in <b>D:\public_html\stats\lib\graph_variables.php</b> on line <b>51</b><br /></font>
<font color=ff0000><br /><b>Notice</b>: Undefined variable: target in <b>D:\public_html\stats\lib\graph_variables.php</b> on line <b>51</b><br /></font>
<font color=ff0000><br /><b>Notice</b>: Undefined variable: target in <b>D:\public_html\stats\lib\graph_variables.php</b> on line <b>54</b><br /></font>
<font color=ff0000><br /><b>Notice</b>: Undefined index: value in <b>D:\public_html\stats\lib\rrd.php</b> on line <b>750</b><br /></font>
<font color=ff0000><br /><b>Notice</b>: Undefined variable: regexps in <b>D:\public_html\stats\lib\rrd.php</b> on line <b>309</b><br /></font>
<font color=ff0000><br /><b>Notice</b>: Undefined variable: fetch_array in <b>D:\public_html\stats\lib\rrd.php</b> on line <b>324</b><br /></font>
<font color=ff0000><br /><b>Notice</b>: Undefined variable: target in <b>D:\public_html\stats\lib\graph_variables.php</b> on line <b>51</b><br /></font>
<font color=ff0000><br /><b>Notice</b>: Undefined variable: target in <b>D:\public_html\stats\lib\graph_variables.php</b> on line <b>51</b><br /></font>
<font color=ff0000><br /><b>Notice</b>: Undefined variable: target in <b>D:\public_html\stats\lib\graph_variables.php</b> on line <b>54</b><br /></font>
<font color=ff0000><br /><b>Notice</b>: Undefined index: value in <b>D:\public_html\stats\lib\rrd.php</b> on line <b>750</b><br /></font>
...
...
etc...
-
- Cacti User
- Posts: 311
- Joined: Tue Jun 29, 2004 12:52 pm
- Location: Indiana
Sorry, forgot I wasn't logged in at home.
From my php_error_log:
Looks like it's having a fit with Indexed Data Sources? That would be my Traffic - Bits/sec with 95th percentile I guess. I have one of those going for 5 devices.
From my php_error_log:
Code: Select all
[09-Aug-2004 18:39:10] PHP Notice: Undefined variable: regexps in D:\public_html\stats\lib\rrd.php on line 309
[09-Aug-2004 18:39:10] PHP Notice: Undefined variable: fetch_array in D:\public_html\stats\lib\rrd.php on line 324
[09-Aug-2004 18:39:10] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 51
[09-Aug-2004 18:39:10] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 51
[09-Aug-2004 18:39:10] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 54
[09-Aug-2004 18:39:10] PHP Notice: Undefined index: value in D:\public_html\stats\lib\rrd.php on line 750
[09-Aug-2004 18:39:13] PHP Notice: Undefined variable: regexps in D:\public_html\stats\lib\rrd.php on line 309
[09-Aug-2004 18:39:13] PHP Notice: Undefined variable: fetch_array in D:\public_html\stats\lib\rrd.php on line 324
[09-Aug-2004 18:39:13] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 51
[09-Aug-2004 18:39:13] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 51
[09-Aug-2004 18:39:13] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 54
[09-Aug-2004 18:39:13] PHP Notice: Undefined index: value in D:\public_html\stats\lib\rrd.php on line 750
[09-Aug-2004 18:39:13] PHP Notice: Undefined variable: regexps in D:\public_html\stats\lib\rrd.php on line 309
[09-Aug-2004 18:39:13] PHP Notice: Undefined variable: fetch_array in D:\public_html\stats\lib\rrd.php on line 324
[09-Aug-2004 18:39:13] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 51
[09-Aug-2004 18:39:13] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 51
[09-Aug-2004 18:39:13] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 54
[09-Aug-2004 18:39:13] PHP Notice: Undefined index: value in D:\public_html\stats\lib\rrd.php on line 750
[09-Aug-2004 18:39:14] PHP Notice: Undefined variable: regexps in D:\public_html\stats\lib\rrd.php on line 309
[09-Aug-2004 18:39:14] PHP Notice: Undefined variable: fetch_array in D:\public_html\stats\lib\rrd.php on line 324
[09-Aug-2004 18:39:14] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 51
[09-Aug-2004 18:39:14] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 51
[09-Aug-2004 18:39:14] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 54
[09-Aug-2004 18:39:14] PHP Notice: Undefined index: value in D:\public_html\stats\lib\rrd.php on line 750
[09-Aug-2004 18:39:16] PHP Notice: Undefined variable: regexps in D:\public_html\stats\lib\rrd.php on line 309
[09-Aug-2004 18:39:16] PHP Notice: Undefined variable: fetch_array in D:\public_html\stats\lib\rrd.php on line 324
[09-Aug-2004 18:39:16] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 51
[09-Aug-2004 18:39:16] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 51
[09-Aug-2004 18:39:16] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 54
[09-Aug-2004 18:39:16] PHP Notice: Undefined index: value in D:\public_html\stats\lib\rrd.php on line 750
[09-Aug-2004 18:39:22] PHP Notice: Undefined variable: regexps in D:\public_html\stats\lib\rrd.php on line 309
[09-Aug-2004 18:39:22] PHP Notice: Undefined variable: fetch_array in D:\public_html\stats\lib\rrd.php on line 324
[09-Aug-2004 18:39:22] PHP Notice: Undefined variable: regexps in D:\public_html\stats\lib\rrd.php on line 309
[09-Aug-2004 18:39:22] PHP Notice: Undefined variable: fetch_array in D:\public_html\stats\lib\rrd.php on line 324
[09-Aug-2004 18:39:23] PHP Notice: Undefined variable: regexps in D:\public_html\stats\lib\rrd.php on line 309
[09-Aug-2004 18:39:23] PHP Notice: Undefined variable: fetch_array in D:\public_html\stats\lib\rrd.php on line 324
[09-Aug-2004 18:39:23] PHP Notice: Undefined variable: regexps in D:\public_html\stats\lib\rrd.php on line 309
[09-Aug-2004 18:39:23] PHP Notice: Undefined variable: fetch_array in D:\public_html\stats\lib\rrd.php on line 324
[09-Aug-2004 18:39:23] PHP Notice: Undefined variable: regexps in D:\public_html\stats\lib\rrd.php on line 309
[09-Aug-2004 18:39:23] PHP Notice: Undefined variable: fetch_array in D:\public_html\stats\lib\rrd.php on line 324
[09-Aug-2004 18:39:23] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 51
[09-Aug-2004 18:39:23] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 51
[09-Aug-2004 18:39:23] PHP Notice: Undefined variable: target in D:\public_html\stats\lib\graph_variables.php on line 54
[09-Aug-2004 18:39:23] PHP Notice: Undefined index: value in D:\public_html\stats\lib\rrd.php on line 750
Yay, bug fixed: http://www.raxnet.net/board/viewtopic.p ... percentile
Now to figure out if there is a way to organize the export index page b/c it's ugly...
Now to figure out if there is a way to organize the export index page b/c it's ugly...
Who is online
Users browsing this forum: No registered users and 3 guests