From owner-freebsd-questions Mon Aug 28 14:59:46 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (zoom3-006.telepath.com [216.14.3.6]) by hub.freebsd.org (Postfix) with SMTP id 7503837B43C for ; Mon, 28 Aug 2000 14:59:43 -0700 (PDT) Received: (qmail 98953 invoked by uid 100); 28 Aug 2000 21:59:43 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14762.57550.978229.547878@guru.mired.org> Date: Mon, 28 Aug 2000 16:59:42 -0500 (CDT) To: Alfred Perlstein Cc: questions@freebsd.org Subject: Re: Scaling Apache? In-Reply-To: <20000828143857.B18862@fw.wintelcom.net> References: <17477616@toto.iv> <14762.56098.997893.119112@guru.mired.org> <20000828143857.B18862@fw.wintelcom.net> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein writes: > * Mike Meyer [000828 14:36] wrote: > > Alfred Perlstein writes: > > > * Steve Lewis [000828 11:53] wrote: > > > > On Mon, 28 Aug 2000, Alfred Perlstein wrote: > > > > > > What do you recommend for a web server if Apache is "entirely useless" may > > > > > > I ask? > > > > > Zues, thttpd, roxen, there's a lot out there that are a lot faster. > > > > > Supposedly Zues is king. > > > > Do you happen to know what these do better than apache? > > > "everything", apache needs a process to handle each request > > Huh? That stopped being true a *long* time ago. Last time I looked at > > the default config, the number of requests a process would handle was > > set very low, but that is trivially fixable. > I'm aware of the way that it keeps the processes around for to grab the > next request, it's still not good enough. It's the MaxRequestsPerChild > or something 'tunable'. Well, they prefer the phrase "configurable". The default configuration is reasonable for the vast majority of sites. To get reasonable performance out of it, you need to seriously raise the numbers - to the point where it's sucking down most of the machine. My general reaction is that HTTP is simple enough (well, before they made it complicated) that the only reason to run a general-purpose web server is because you have a general-purpose web site. For anything special purpose, you're better off with something custom-tailored to that purpose.