upgrade 0.8.8f to 1.1.28 -> graphs generation very slow

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

Moderators: Developers, Moderators

Post Reply
atlaware
Posts: 7
Joined: Mon Feb 11, 2013 10:14 am

upgrade 0.8.8f to 1.1.28 -> graphs generation very slow

Post by atlaware »

Hi,
I have just migrated from cacti 0.8.8f to cacti 1.1.28: all work well but the generation of graph is very very low, I can tell without doubt that the time has increased by at least 300%.
Someone have suggestion about this problem?

Thank you.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: upgrade 0.8.8f to 1.1.28 -> graphs generation very slow

Post by netniV »

The default graph time is every 5 minutes. If you are needing every minute, then you need to update the system to operate in a 1 minute cycle.
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
atlaware
Posts: 7
Joined: Mon Feb 11, 2013 10:14 am

Re: upgrade 0.8.8f to 1.1.28 -> graphs generation very slow

Post by atlaware »

Hi, maybe I did not explain well the problem.
I speek about the generation of graphs in tabs "graphs" of cacti web page, I don't need more data, I need only a "quickly" (as for cacti 0.8.x) generation of graphs.

And I want to understand if I make some mistake on upgrade from 0.8.8 to 1.1.28: the generation time is at least tripled, this is strange!

Thank you.
markv wrote:The default graph time is every 5 minutes. If you are needing every minute, then you need to update the system to operate in a 1 minute cycle.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: upgrade 0.8.8f to 1.1.28 -> graphs generation very slow

Post by netniV »

How many graphs have you got displayed by default? Are you using thumbnails by default or full graphs?

The amount of time to generate will increase with more graphs.

I'm not personally aware of the timings between 0.8.x and 1.x for graph generation on the viewing page.
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
atlaware
Posts: 7
Joined: Mon Feb 11, 2013 10:14 am

Re: upgrade 0.8.8f to 1.1.28 -> graphs generation very slow

Post by atlaware »

Hi, I display 10 graphs by default.
I use full graphs, I have tried now thumbnails option, but the result is pretty the same :(
I know that the number of graphs it's important.

I have made some test: 10 graphs (thumbnails options): total time 27 seconds: ~15 for the first six and other ~10 seconds for the other four.
Only 1 graphs: 7 seconds.

This from when I have updated from cacti 0.8.8X to 1.1.28 :(
I have also update rrdtool when I have upgraded cacti and I can see in process list that when I wait for graphs rrdtool process is in execution.

There is some big change in graphs generations from 0.X to 1.X version?

Thanks
markv wrote:How many graphs have you got displayed by default? Are you using thumbnails by default or full graphs?

The amount of time to generate will increase with more graphs.

I'm not personally aware of the timings between 0.8.x and 1.x for graph generation on the viewing page.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: upgrade 0.8.8f to 1.1.28 -> graphs generation very slow

Post by netniV »

Have you updated the version of the RRD tool within the settings? I know that it has a version selection in there. As for graph creation, seems strange that it takes so long as I have a page with 29 graphs and they display in around a second.

Have you got enough memory / cpu power allocated if this is a VM?
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
atlaware
Posts: 7
Joined: Mon Feb 11, 2013 10:14 am

Re: upgrade 0.8.8f to 1.1.28 -> graphs generation very slow

Post by atlaware »

Hi,
I have updated cacti from 0.8.8 to 1.1.28 (with the correct cacti procedure and internal DB upgrade) and contestually upgraded rrdtool to 1.7.0.
I need to update settings of rrd tool? You can explain me?

Isn't a VM, but have 4GB of ram and 4 core and don't have much load.

The strange is the big difference beteween cacti 0.8 and 1, no hardware change...

Thank you!
netniV wrote:Have you updated the version of the RRD tool within the settings? I know that it has a version selection in there. As for graph creation, seems strange that it takes so long as I have a page with 29 graphs and they display in around a second.

Have you got enough memory / cpu power allocated if this is a VM?
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: upgrade 0.8.8f to 1.1.28 -> graphs generation very slow

Post by netniV »

I'm not sure if 1.7 is supported by cacti, have you checked under the RRDTool version in the settings ?
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
warben61
Posts: 34
Joined: Mon Jan 22, 2018 9:52 pm

Re: upgrade 0.8.8f to 1.1.28 -> graphs generation very slow

Post by warben61 »

Hi, I have a similar issue after upgrading from 0.8.8f to 1.1.31. Before the upgrade, clicking a graph in the tree would load instantly. Now I wait 5-10 seconds for a page of 10 graphs. Sometimes nothing loads at all and other times I get a message saying the request could not be completed. The pages under the console tab for all the configuration are responding fairly well. Slower than before, but not nearly as noticeable as the graphs page. Anything I can do/try to speed this up?
atlaware
Posts: 7
Joined: Mon Feb 11, 2013 10:14 am

Re: upgrade 0.8.8f to 1.1.28 -> graphs generation very slow

Post by atlaware »

netniV wrote:I'm not sure if 1.7 is supported by cacti, have you checked under the RRDTool version in the settings ?
Hi, It's supported, was not set the correct version, I have set it 1.7 but the "slowling" problem persist :(
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests