I just upgraded cacti from 0.8.4 to 0.8.6g on one of our internal systems and upon verification by our network folk, he immediately a complained about a big decrease in speed in drawing the graphs. I have noticed it takes an average of 3-4 seconds to draw 1 graph.
Is there anything I can to assist in speeding up the drawing of the graphs?
(Aside from installing some PHP optimizer)
Solaris 2.8
Cacti 0.8.6g
PHP 5.0.5
Apache 2.0.55
cacti 0.8.6g graph performance
Moderators: Developers, Moderators
Re: cacti 0.8.6g graph performance
I'm not a developer, and this is just a shot in the dark from my pre-cacti days, but...guice wrote: Is there anything I can to assist in speeding up the drawing of the graphs?
(Aside from installing some PHP optimizer)
Solaris 2.8
Cacti 0.8.6g
PHP 5.0.5
Apache 2.0.55
When a graph is being drawn, can you see if the CPU on the cacti machine is pegged, and if so, see if the httpd process is using it? And, is your web site over HTTPS, by chance?
OK, it's likely not the issue I was thinking of then, sorry. I had a problem awhile back with a generic rrdtool interface where the lack of buffering on the image would crush the Apache server trying to encrypt a bunch of small packets.guice wrote:Yes, the httpd process does spike over 20% CPU useage during the drawing and not running through https.
If you want to see if it's something similar with you.... I believe that editing graph_image.php and moving the ob_end_flush() command to after the rrdtool_function_graph command would test/fix this. If this doesn't help, restore the file to the way it was before.
If not, hopefully someone else will have some ideas.
Who is online
Users browsing this forum: No registered users and 1 guest