Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2002 09:03:20 -0400
From:      "bill" <bill@TechServSys.com>
To:        freeBSD-Questions <questions@FreeBSD.ORG>
Subject:   Re: slooooow httpd serving
Message-ID:  <3D64A8D8.23214.6D97D@localhost>
In-Reply-To: <3D649213.15749.1407CF99@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help


On 22 Aug 2002 at 7:26, bill wrote:

> I have more or less successfully built my first freeBSD system to be a 
> webserver and configured Apache for virtual hosts and all seems well, except:
> 
> when it is serving a large (100k) graphic it is slower than mud going uphill.
> 
> hardware:
> 485-66, 32Mb ram
> The nic is an intel pro/10
> scsi disk subsystem with an adaptec 1542c (I think it is a c, not sure - but it 
> ran a complex database application before it was retired for a faster machine)
> 
> Top says:
>    load averages 0.00 0.01 0.00
>    top is using 0.93%
>    sendmail is using 0.00
>    httpd      is using 0.00 
> 
> watching top I see that httpd goes to RUN about once every 3 seconds.
> 
> 
> netstat shows a very large send q: 33580 until the browser apparently gives 
> up.
> when I reload the page the q goes up again and it _finishes_ displaying the 
> image.
> 
> I could use some help in figuring out what is so slow.
> 
> Also, may or may not be related: I have not configured Sendmail yet and it 
> gets unhappy and panics every morning when it can't deliver something.
> 
> -bill-
> 
Addendum:  it serves lots of small images and the httpd pages quite
quickly, it seems only to be the large (>100k) images that slow down so 
much.
The server is on a 10Mb/s segment of a LAN.  The client is on a 100Mb/s 
segment of the lan.  The current production server is on a 100Mb/s segment 
of the lan and serves the large pictures in under 1 sec.
There is only one computer on each LAN segment and the switch is a 10/100 
linksys.

-bill


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D64A8D8.23214.6D97D>