graph_json.php took 2-4 second per one graph

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

Moderators: Developers, Moderators

Post Reply
fedottt
Posts: 3
Joined: Sun Oct 17, 2010 2:03 am

graph_json.php took 2-4 second per one graph

Post by fedottt »

how i can diagnose problem on screenshot
this happen after migrate from 0.8 to 1.38
Attachments
json.PNG
json.PNG (22.91 KiB) Viewed 436 times
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: graph_json.php took 2-4 second per one graph

Post by netniV »

Your best bet would be to add timing code that logs to a file the URL being used and a running time stamp between each section to narrow down which part is taking it's time.

I would suspect that one of the SQL queries is what is causing the slowness.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
fedottt
Posts: 3
Joined: Sun Oct 17, 2010 2:03 am

Re: graph_json.php took 2-4 second per one graph

Post by fedottt »

moved cacti to a dedicated server and problem is solved now
in virtual server not enought disk speed
Post Reply

Who is online

Users browsing this forum: optimuscream and 3 guests