From owner-freebsd-stable@FreeBSD.ORG Fri Apr 22 08:40:11 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE3AC16A4CE for ; Fri, 22 Apr 2005 08:40:11 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89B3843D2F for ; Fri, 22 Apr 2005 08:40:11 +0000 (GMT) (envelope-from peceka@gmail.com) Received: by zproxy.gmail.com with SMTP id 34so1292159nzf for ; Fri, 22 Apr 2005 01:40:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GhVs4VXPumUiBWVGD5cFKjCdKJKvVbDQmO4v3676AOZSu++FFI3J3j1zWHJHOfX/dIiyMW21ZMzM2jbPWaWsX8TQPnUt7gPe2aeYyq3oOpGw9KSklD12yPZhW5JW0cIDzQS1zGzmlaUqqRIttoUvTAb1CmoN8KjJ7ZIjngvcfhc= Received: by 10.36.9.5 with SMTP id 5mr272341nzi; Fri, 22 Apr 2005 01:40:11 -0700 (PDT) Received: by 10.36.4.3 with HTTP; Fri, 22 Apr 2005 01:40:10 -0700 (PDT) Message-ID: Date: Fri, 22 Apr 2005 10:40:10 +0200 From: peceka To: Kipp Holger In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD and very heavy web server X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: peceka List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 08:40:12 -0000 On 4/21/05, Kipp Holger wrote: >=20 > peceka wrote on Thu 21.04.2005 11:02 >=20 > > i must set up a web server. I want to do this on FreeBSD 5.X. and > > Apache 1.3 for this and php4. >=20 > What do you mean by 'very heavy web server'? Please be more specific. >=20 > - Do you expect many parallel connections? Default configuration > allows for 512 child processes with apache, so you might want > to set this higher during compilation (eg set to 1024). Yes, I expect many parallel connections...=20 I've got two machines for that, so traffic will be divided by DNS round robin. But 1024 child processes will be good thing too, thanks. > - Does it make sense to separate static and dynamic requests? > You might want to use separate servers(*) for static and > dynamic requests, using a quick low-footprint webserver for > static requests that allows for many parallel requests. Maybe > lighttpd is all you need (ymmv) Unfortunately, all pages will be dynamic :\ > - Make sure you don't run out of mbufs, open file descriptors etc. Ok, I'll have an eye open on this. Thanks. Best Regards, p.