Hello there,
First time I'm installing Cacti under Windows and I'm having a weird problem.
I tried all different way to install it (manually with different version of each component) and finally end up with the Windows Installer V1.931.
The problem occur in every install at the same point: all the Cacti website is working well (i.e. loading fast) except the graph_view.php page which is taking so long time to load not even a complete page (See Screenshoot attached).
The weird thing is that everything is working well when I'm logging on locally on the server, but not when I tried to access it remotely through an external browser.
The issue is on both Apache and IIS installations.
All looks good under Cacti Technical Support page.
RRD files are created.
Operating System: Windows 2003 SP2
Webserver: Apache 2.2.11
Cacti: Cacti 0.8.7e
Spine: Spine 0.8.7e
MySQL: MySQL 5.0.83
PHP: PHP 5.2.9
RRDTool (Cygwin or Win32 version): RRDTool 1.2.30 (Cygwin)
Net-SNMP: Net-SNMP 5.4.2
A week I'm trying to find out what's could be the issue, but I didn't find anything from logs...
Nick
graph-view.php is taking ages to load an incomplete page
Moderators: Developers, Moderators
graph-view.php is taking ages to load an incomplete page
- Attachments
-
- graph_view.php.PNG (113.59 KiB) Viewed 4178 times
-
- Cacti_Tech_Support.rar
- (19.8 KiB) Downloaded 144 times
Under powered server?
Those 2 graphs in the picture took approx how long to render? When they're drawing, fire up task manager -- what is consuming all the cpu?
Always been using cywgin rrdtool 1.2.30? Might I suggest the Win32 version of 1.2.27 or .28. The whole 1.3x line has some performance issues, etc.
Those 2 graphs in the picture took approx how long to render? When they're drawing, fire up task manager -- what is consuming all the cpu?
Always been using cywgin rrdtool 1.2.30? Might I suggest the Win32 version of 1.2.27 or .28. The whole 1.3x line has some performance issues, etc.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Actually nothing is consuming CPU and everything is working fast localy on the server.
But my investigation shown me that is also working well from others specific servers on my network.
It sounds more like a "routing" issue (I have some asymmetric routes at one point), and from my experience HTTP doesn't like that in some situation.
So I would say not a cacti issue for the moment.
I'd come back to you as soon as I fixed that issue.
Thx,
Nick
But my investigation shown me that is also working well from others specific servers on my network.
It sounds more like a "routing" issue (I have some asymmetric routes at one point), and from my experience HTTP doesn't like that in some situation.
So I would say not a cacti issue for the moment.
I'd come back to you as soon as I fixed that issue.
Thx,
Nick
Ok,
After fixing some weird configuration on my network I delete the asymetric route.
Now I have a "clean & single" path between my client on my cacti server.
However it didn't fix my loading issue.
After some investigations it appear that I'm having issue loading this Javascript file in particular: ftiens4.js.
When I tried to load it directly only a piece of it is loaded.
The error I'm getting on Firefox console are:
Erreur : initializeDocument is not defined
Fichier Source : http://cactiserver/cacti/graph_view.php ... first=true
Ligne : 78
Erreur : myNode is null
Fichier Source : http://cactiserver/cacti/graph_view.php ... first=true
Ligne : 95
I tried to delete all my tree and just create one empty: I have the same Javascript errors and can't see the tree, but the page is now loading.
Very bizarre...
Any other ideas?
After fixing some weird configuration on my network I delete the asymetric route.
Now I have a "clean & single" path between my client on my cacti server.
However it didn't fix my loading issue.
After some investigations it appear that I'm having issue loading this Javascript file in particular: ftiens4.js.
When I tried to load it directly only a piece of it is loaded.
The error I'm getting on Firefox console are:
Erreur : initializeDocument is not defined
Fichier Source : http://cactiserver/cacti/graph_view.php ... first=true
Ligne : 78
Erreur : myNode is null
Fichier Source : http://cactiserver/cacti/graph_view.php ... first=true
Ligne : 95
I tried to delete all my tree and just create one empty: I have the same Javascript errors and can't see the tree, but the page is now loading.
Very bizarre...
Any other ideas?
Hmm the ugly treeview code.
Graph loading still fast locally and slow remotely? If so, then I wouldn't think it's an issue with the code and instead network / browser. What browsers / versions are you using? Tried others like chrome, opera, firefox, IE (not sure what you're using)?
Graph loading still fast locally and slow remotely? If so, then I wouldn't think it's an issue with the code and instead network / browser. What browsers / versions are you using? Tried others like chrome, opera, firefox, IE (not sure what you're using)?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Assuming when you've been upgrading Cacti, you're overwriting the existing files with the ones from the cacti zip file, then you should have the latest.
I'm still not sure this is a problem with the treeview code, since there really haven't been any others reporting these types of issues. Lets review.
1) Locally on the cacti server, viewing graphs via graph management works as expected?
2) Locally on the cacti server, viewing graphs in the TREEs works as expected?
3) Remotely, viewing graphs via graph management works as expected?
4) Remotely, viewing graphs in the TREEs works as expected?
I'm still not sure this is a problem with the treeview code, since there really haven't been any others reporting these types of issues. Lets review.
1) Locally on the cacti server, viewing graphs via graph management works as expected?
2) Locally on the cacti server, viewing graphs in the TREEs works as expected?
3) Remotely, viewing graphs via graph management works as expected?
4) Remotely, viewing graphs in the TREEs works as expected?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 1 guest