TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:21450] Apache log problems...
Each time a page is requested the webserver would have to do a lookup.
It's really bad. If you're only expecting a few 1000 hits/day it's
probably not a big deal, it'll still be noticably slower serving pages to
your web clients though.
There are lots of scripts available that will do the name lookups for the
IP's in a logfile. You could write it in awk (if you knew it), perl would
be well suited too. The easiest thing would just be to find one on-line
though. There may even be one that comes with the apache distro, I don't
remember.
Adam Maloney
Systems Administrator
Sihope Communications
On Tue, 19 Sep 2000, mjn wrote:
> > This is a good thing, turning on DNS lookups causes Apache to suffer a
> > huge performance hit.
>
> What kind of a performance hit are we talking about?
>
> > I could probably hack something up in awk pretty quick if you have trouble
> > finding anything.
>
> Well I'd appretiate the help...
>
> knowledge -> 0 as I -> awk
>
> Thanks
> ____________________________
> Mike Neuharth
> ADCS Technology Specialist
> http://www.umn.edu/adcs
>
> E-Mail : mjn@umn.edu
> Page Mail : 6126486512@page.metrocall.com
> http://nifty.dsl.visi.com/
> ____________________________
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org
>
>