[mrtg] Re: Speeding up 14all.cgi
cpoetzel at achilles.ctd.anl.gov
Thu Jul 19 20:54:16 MEST 2001
I switched to SpeedyCGI for the 14all.cgi script and it does
seem to speed the pages up a bit. Thanks for the tip, but a side effect
of this is that when it runs i see 2 processes called speedy_backend
appear in my proc list and they are gobbling up my cpu pretty bad. For large pages
it might go to 90%. Any thoughts?
Also, On the 14all.cgi homepage it says,
If the CGI can write into the directories where the rrd-files are (e.g. if
it is installed setuid [not root!]) it will put the graphics into this
Version 1.0 only: If the CGI can write into the directory where the config
file is it will create a "config cache" so it doesn't have to read and
parse the config file each time it's called. This should make it run
faster with big config files.
Should this produce files with the .conf extension, i.e. how are we
supposed to know if it is creating the "config cache"?
thanks for the help,
cpoetzel at anl.gov
argonne national lab
On Wed, 18 Jul 2001, Rainer Bawidamann wrote:
> > i am running mrtg2.9.17 with RRD and 14all.cgi
> > to display the graphs. I am not very happy with the
> > speed that 14all.cgi is displaying the graphs.
> > I do have a few large cfg files around 100 targers or
> > so and they may take up to 5 minutes to load.
> Do you use mod_perl or speedyCGI? If not you might want to try speddyCGI
> (from www.CPAN.org or http://daemoninc.com/speedycgi).
> If it's stil very slow when displaying the index page group the targets
> with the Directory setting to make the index page smaller.
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive http://www.ee.ethz.ch/~slist/mrtg
> FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg