Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2002 22:12:16 +0100
From:      James Jeffrey <james@jgj.org.uk>
To:        Tom Samplonius <tom@sdf.com>
Cc:        Simon <simon@optinet.com>, "freebsd-isp@freebsd.org" <freebsd-isp@freebsd.org>
Subject:   Re: Apache 2 MPMs
Message-ID:  <4A8DCD48-54A3-11D6-A332-003065A1F05E@jgj.org.uk>
In-Reply-To: <Pine.BSF.4.05.10204201310110.22453-100000@misery.sdf.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A8DCD48-54A3-11D6-A332-003065A1F05E>