From owner-freebsd-isp Sat Apr 20 14:16:37 2002 Delivered-To: freebsd-isp@freebsd.org Received: from jgj.org.uk (public1-leed1-4-cust166.leed.broadband.ntl.com [80.0.0.166]) by hub.freebsd.org (Postfix) with SMTP id D98E537B41F for ; Sat, 20 Apr 2002 14:16:28 -0700 (PDT) Received: (qmail 99710 invoked from network); 20 Apr 2002 21:16:32 -0000 Received: from sean.jgj.org.uk (192.168.243.89) by rufus.jgj.org.uk with SMTP; 20 Apr 2002 21:16:32 -0000 Date: Sat, 20 Apr 2002 22:16:25 +0100 Subject: Re: Apache 2 MPMs Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v481) Cc: Tom Samplonius , Simon , "freebsd-isp@freebsd.org" To: James Jeffrey From: James Jeffrey In-Reply-To: <4A8DCD48-54A3-11D6-A332-003065A1F05E@jgj.org.uk> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.481) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Of course having said that I do realise that most of the memory usage is data memory... :) James On Saturday, April 20, 2002, at 10:12 PM, James Jeffrey wrote: > My understanding may be flawed (and I am interested in learning...) but > I though one of the advantages of using threads over forking was that > multiple threads can share the same memory resident copy of the binary > and that only data memory had to be allocated for each thread, where as > forked processes each need there own resident copy of the program. > Therefore threads use less memory and theoretically so can Apache 2 > except, sadly, on FreeBSD... > > James. > > On Saturday, April 20, 2002, at 09:10 PM, Tom Samplonius wrote: > >> >> And you expect Apache 2.x to use less RAM? I really doubt it. >> >> Tom >> >> On Sat, 20 Apr 2002, Simon wrote: >> >>> >>> Some of our servers do over 1.3TB a month, avg request is 8kB >>> I can't wait for FBSD 5.x, hopefully threads are much better then. >>> 1.3.x Apache eats way too much RAM, but oh well, it's free :-) >>> >>> -Simon >>> >>> On Sat, 20 Apr 2002 11:15:28 -0700 (PDT), Tom Samplonius wrote: >>> >>>> >>>> First of all, how many of the modules you need will be threadsafe? >>>> Many >>>> of the PHP add-ons are not thread safe. >>>> >>>> Unless you have servers pushing out more than 500GB/month, I >>>> wouldn't >>>> worry about the difference between prefork and prefork/thread. >>>> >>>> Tom >>>> >>>> On Sat, 20 Apr 2002, James Jeffrey wrote: >>>> >>>>> Hello, >>>>> >>>>> I have just started a new job for an ISP currently using some Linux >>>>> servers. I want to start to move them across to FreeBSD, but I'm >>>>> concerned that Apache 2 will use the prefork MPM on our favourite >>>>> platform rather than the newer prefork/thread combination one... >>>>> Does >>>>> anyone know: >>>>> >>>>> Why this is? >>>>> When it will be fixed? >>>>> What performance penalty this will cause against, for example, >>>>> Linux? >>>>> How good is the new MPM? >>>>> >>>>> thanks, >>>>> >>>>> James >>>>> >>>>> >>>>> To Unsubscribe: send mail to majordomo@FreeBSD.org >>>>> with "unsubscribe freebsd-isp" in the body of the message >>>>> >>>>> >>>> >>>> >>>> To Unsubscribe: send mail to majordomo@FreeBSD.org >>>> with "unsubscribe freebsd-isp" in the body of the message >>>> >>> >>> >>> >>> >>> To Unsubscribe: send mail to majordomo@FreeBSD.org >>> with "unsubscribe freebsd-isp" in the body of the message >>> >>> >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-isp" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message