httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Correia" <Sean.Corr...@eaw.com>
Subject RE: Apache + Win32 + localhost = slow
Date Fri, 24 May 2002 16:12:12 GMT
I find Apachebench helpful sometimes when sorting these things out.

man ab

Cheers,
Sean



> -----Original Message-----
> From: Luke Bakken [mailto:lbakken@ics-server.interface-net.com]
> Sent: Friday, May 24, 2002 12:02 PM
> To: users@httpd.apache.org
> Subject: RE: Apache + Win32 + localhost = slow
> 
> 
> Hey thanks again.
> 
> No not as a virtual host.  However, when I use wget to mesaure
> performance, I don't see the slowdown from a remote machine:
> 
> $ wget -nd -nH -O /dev/null http://cbinfralrb/US/S/676.html
> --09:07:27--  http://cbinfralrb/US/S/676.html
>            => `/dev/null'
> Resolving cbinfralrb... done.
> Connecting to cbinfralrb[129.189.110.145]:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 2,125,330 [text/html]
> 
> 100%[=========================================================
========================================>]
> 2,125,330    867.69K/s    ETA 00:00
> 
> 09:07:29 (867.69 KB/s) - `/dev/null' saved [2125330/2125330]
> 
> As you can see, that was a 2MB file, and the transfer speed looked OK.
> 
> From the machine locally it's about 4.6MB a second.
> 
> ACK!
> 
> I'm wondering why there's such a discrepancy between wget and 
> other web
> clients?
> 
> Thanks,
> Luke
> 
> On Fri, 24 May 2002, Sean Correia wrote:
> 
> > doh! Temporary lapse, I had forgotten 'off' was the default.
> >
> > Is this site running as a virtual host?
> > Check this out if it is:
> > http://httpd.apache.org/docs/dns-caveats.html
> >
> > Cheers,
> > Sean
> >
> >
> >
> > > -----Original Message-----
> > > From: Luke Bakken [mailto:lbakken@ics-server.interface-net.com]
> > > Sent: Friday, May 24, 2002 11:48 AM
> > > To: users@httpd.apache.org
> > > Subject: RE: Apache + Win32 + localhost = slow
> > >
> > >
> > > Thanks for the advice, but that has been off by default in
> > > the installtion
> > > since version 1.3, according to the FAQ.
> > >
> > > It's the slowdown that concerns me most.
> > >
> > > On Fri, 24 May 2002, Sean Correia wrote:
> > >
> > > > Try turning off reverse DNS lookups
> > > >
> > > > Cheers,
> > > > Sean
> > > >
> > > > > -----Original Message-----
> > > > > From: Luke Bakken 
> [mailto:lbakken@ics-server.interface-net.com]
> > > > > Sent: Friday, May 24, 2002 11:27 AM
> > > > > To: users@httpd.apache.org
> > > > > Subject: Apache + Win32 + localhost = slow
> > > > >
> > > > >
> > > > > Hi all,
> > > > >
> > > > > I'm writing this after doing a lot of testing and searching
> > > > > of archives to
> > > > > no avail.
> > > > >
> > > > > What I'm experiencing is something similar to the problem
> > > reported in
> > > > > Microsoft's Article Q294769 in which MS says localhost
> > > > > lookups are slow,
> > > > > but using the server name is OK.  Even when I access my local
> > > > > machine with
> > > > > my servername, the transfer starts out fast, but declines
> > > over time.
> > > > >
> > > > > I also saw a thread on usenet which prompted me to
> > > upgrade from NT to
> > > > > 2000. However, performance improvements didn't seem 
> that great.
> > > > >
> > > > > I notice this problem with Opera, Lynx, IE and Mozilla. I
> > > also have
> > > > > noticed a problem in which the browser "freezes" a second
> > > > > before actually
> > > > > showing status of the page load. I have all of the 
> appropriate IP
> > > > > addresses in my hosts file. In Lynx I can see that the
> > > > > transfer process
> > > > > starts out fast and gradually gets slower. This seems to be
> > > > > the crux if
> > > > > the problem.
> > > > >
> > > > > What I have also found is that this doesn't seem limited
> > > to localhost
> > > > > machines.  For instance, I've got a fresh install of NT4 Sp6
> > > > > on a 1.8GHz
> > > > > Dell and Apache 2.0.36.  My website conatins several text
> > > > > files that are
> > > > > over 1MB in size, so I use those to test the transfer
> > > speed.  From a
> > > > > remote machine running Lynx, I can access one of those pages.
> > > > >  I notice
> > > > > that the transfer starts out at over 100KB/sec, but by the
> > > > > time the page
> > > > > eventually finishes downloading, it's at about 30KB/sec.
> > > > > This is over a
> > > > > 100mbit switched network.
> > > > >
> > > > > In order to see if this is strictly an Apache problem, I also
> > > > > installed
> > > > > the Xitami web server on the Dell.  Not suprisingly, I still
> > > > > see the same
> > > > > problem - the transfer starts out fast, but declines in
> > > > > speed, both from
> > > > > localhost or from a remote machine.
> > > > >
> > > > > Is it time to start serving these pages from a UNIX
> > > machine?!?!!?!?
> > > > >
> > > > > Thanks in advance!
> > > > > Luke Bakken
> > > > >
> > > > >
> > > > >
> > > 
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > > > For additional commands, e-mail: users-help@httpd.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > 
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > > For additional commands, e-mail: users-help@httpd.apache.org
> > > >
> > >
> > >
> > > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> > >
> > >
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message