From owner-freebsd-questions Thu Aug 22 6: 1:11 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0716637B401 for ; Thu, 22 Aug 2002 06:01:08 -0700 (PDT) Received: from home.HoundsOfHeaven.com (216-93-126-013.mdmmi.voyager.net [216.93.126.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 430F043E7B for ; Thu, 22 Aug 2002 06:01:07 -0700 (PDT) (envelope-from bill@TechServSys.com) Received: from home (william [192.168.10.2]) by home.HoundsOfHeaven.com (8.8.8/SCO5) with ESMTP id JAA01549 for ; Thu, 22 Aug 2002 09:01:06 -0400 (EDT) From: "bill" To: freeBSD-Questions Date: Thu, 22 Aug 2002 09:03:20 -0400 MIME-Version: 1.0 Subject: Re: slooooow httpd serving Message-ID: <3D64A8D8.23214.6D97D@localhost> In-reply-to: <3D649213.15749.1407CF99@localhost> X-mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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