[mrtg] Re: 14all.cgi & routers.cgi very slow
bwoodcoc
bwoodcoc at genuity.com
Wed Dec 18 15:34:56 MET 2002
Hi Eric,
Performance is related to the number of objects contained within the config
file. One solution is to build dummy configs on the fly so the call to
14all has an abbreviated config (one interface) AND the pointer to the rrd
direct. A bridge cgi to 14all if you will. With this you get a direct graph
build for the single interface. The issues with this is that you require to
build the config parser to produce the dummy, then also a navigation
technique for interfaces.
I've got this (via web alarms or topology graphics) but it is specific to
my set up so it is not likely to help you. I hope to share at some point
but I'm caught up with my managers/PR/Legal questions so far :-(. Also I do
not collect on all interfaces, only those which either have an ip or
learned neighbor via cdp. This cuts down on the ports to only those
providing infrastructure connections. But if you need ALL ports then it is
a different game. The technique will still work....but you need to build it.
cheers,
brad...
cheers,
brad...
At 06:59 AM 12/18/2002 -0600, Brander, Eric wrote:
>I was considering making the transition to RRD from Rateup, but the
>performance of the CGI's on both RedHat 8 and IIS is just too poor to bear.
>My Cisco 4006 with 72 interfaces, graphing traffic, errors and discards on
>each interface, doesn't even get 1/3rd complete when it times out building
>the graphs. Heck, even my 2600 router with two interfaces and a CPU graph
>(7 graphs total) takes 25 seconds to load, and another 20 seconds to bring
>up the page with daily, weekly, monthly, and yearly statistics. These
>measurements are using the latest 14all.cgi on RedHat8, but I encounter
>similar performance on IIS. Routers.cgi... well, its just hella slow, and I
>don't care for the interface so the point is moot there. 14all is the cgi
>for me, but is there anything I can do to speed up the performance? My Red
>Hat 8 machine is a P3 600mhz with 384 meg ram. Its NOT running Xwin.
>
>When the graphs are being built, top reports that 14all.cgi is the one
>sucking the resources. I would have expected it to report perl as the one,
>or even rrd, but those don't even show up in top... so its difficult (for
>me) to pinpoint the actual culprit.
>
>Any pointers from your mrtg/rrd/cgi gurus out there?
>
>TIA,
>Eric
>
>
>--
>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
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
More information about the mrtg
mailing list