[mrtg] mrtg-rrd.cgi, Apache2 and mod_perl

Uffe R. B. Andersen urb at twe.net
Wed Oct 4 13:32:47 MEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

Has anyone successfully used mrtg-rrd.cgi with mod_perl on an Apache 2.x.x
server? When I tries yesterday my apache errorlog stated:
Deep recursion on subroutine
"ModPerl::ROOT::ModPerl::Registry::var_www_localhost_cgi_2dbin_mrtg_2drrd_2ecgi::handler"
at /var/www/localhost/cgi-bin/mrtg-rrd.cgi line 1038.

Line 1038 is the "handler($q);" line. The server rapidly became sluggish
and eventually I had to reboot it, to regain control :(

In my setup I have 400 hosts, with 12-14 targets each. The mrtg/rrdtool
combination works fine, tweaked a bit to stay within 5 minutes intervals,
but rendering the images for a host takes (close to) forever. Loading
Smokeping pages is much faster and I guess it is due to the use of
SpeedyCGI. I could use a similar solution for mrtg-rrd.

- --
Med venlig hilsen - Sincerely
Uffe R. B. Andersen - mailto:urb at twe.net
http://www.twe.net/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQFFI5vfxC95nUQcrpgRAlc2AKC1J2Tcven9ci1pkWglMTQiRUGkhQCdHO99
dTH3Y1aZTY50Hkud10DHXTA=
=iMzp
-----END PGP SIGNATURE-----

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list