Problem loading Graph

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
mhasan
Posts: 10
Joined: Wed Aug 29, 2012 1:49 am

Problem loading Graph

Post by mhasan »

I'm a first time cacti user. It takes too much time to load the graph. Sometimes graph image disappeared, it appeared after reloading the pages. I've attached screenshot.

Cacti Version: 0.8.7g
PHP Version 5.3.3-7+squeeze14
Apache/2.2.16 (Debian)

Please help me out. My boss killing me. :cry:
Attachments
cacti_graph_after_reload.jpg
cacti_graph_after_reload.jpg (154.56 KiB) Viewed 992 times
cacti_graph_before_reload.jpg
cacti_graph_before_reload.jpg (9.49 KiB) Viewed 992 times
Last edited by mhasan on Mon Sep 03, 2012 11:20 pm, edited 1 time in total.
artagel
Cacti User
Posts: 226
Joined: Wed May 21, 2008 11:33 pm

Re: Problem loading Graph

Post by artagel »

No screenshot and not enough info.
Please mark the topic solved if this resolves your problem.
mhasan
Posts: 10
Joined: Wed Aug 29, 2012 1:49 am

Re: Problem loading Graph

Post by mhasan »

artagel wrote:No screenshot and not enough info.
Sorry. Now I've attached the image.
artagel
Cacti User
Posts: 226
Joined: Wed May 21, 2008 11:33 pm

Re: Problem loading Graph

Post by artagel »

I'm not sure what you are trying to show your problem is.
What do you mean by it takes too long to load?
What does the picture mean after reload? After reload page, or reinstall cacti?
Please explain your problem in more detail.
Please mark the topic solved if this resolves your problem.
mhasan
Posts: 10
Joined: Wed Aug 29, 2012 1:49 am

Re: Problem loading Graph

Post by mhasan »

After auto refresh my page appear like this image cacti_graph_before_reload.jpg. When I reload the page from browser it appear like cacti_graph_after_reload.jpg but It take too long.

I made cisco catalyst 2950 graph. When I click on tree to see the graph 1st 3-5 (port's) graph image appear and rest of them doesn't.

I'm using Google Chrome as my browser. But didn't find any problem with Firefox.
artagel
Cacti User
Posts: 226
Joined: Wed May 21, 2008 11:33 pm

Re: Problem loading Graph

Post by artagel »

Sounds like maybe you don't have enough time in allotted for your php script runtime in php.ini, or your system is under a lot of load.
-Dan
Please mark the topic solved if this resolves your problem.
mhasan
Posts: 10
Joined: Wed Aug 29, 2012 1:49 am

Re: Problem loading Graph

Post by mhasan »

artagel wrote:Sounds like maybe you don't have enough time in allotted for your php script runtime in php.ini, or your system is under a lot of load.
-Dan
Many many thanks for your reply. Can you give me a guideline to fine tune my web server, php & mysql for run cacti smoothly. My network getting bigger so I have to add many devices to monitor.

Thanks again.
artagel
Cacti User
Posts: 226
Joined: Wed May 21, 2008 11:33 pm

Re: Problem loading Graph

Post by artagel »

Most situations are different, and I know nothing of your equipment(speed, ram, disk speed, etc), network, etc.
Google mysql optimization and php optimization. That should help you.
Also, check your log files(apache logs) to see why things are failing.

-Dan
Please mark the topic solved if this resolves your problem.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Problem loading Graph

Post by gandalf »

Are you running 1 or 5 min polling?
Are you running spine?
How many data sources etc. (grep for "SYSTEM STATS" in cacti.log)
Considered using BOOST?
Find some a´stats in the announcement forum, posted by lots of users ...
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests