[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Which MPM for Apache2?

On Sun, 2005-09-18 at 20:47 -0400, Steve Dondley wrote:
> I just did a fresh install of Sarge. I set it up to run Apache2 out of the box. 
> Now I'm trying to figure which Multi-Processing Module (MPM) it's
> running by default.  I see there are 4 different MPM packages:
> apache2-mpm-perchild
> apache2-mpm-prefork
> apache2-mpm-threadpool
> apache2-mpm-worker
> >From the descriptions, it seems like I should be using "worker".  Is
> there any reason to switch to worker from the from the default MPM
> (whatever the default is)?

I think that prefork is the default. If you install php4, you will be
required to use apache2-mpm-prefork. Apache2-mpm-worker is supposedly a
bit faster. However, I doubt very much that the difference is very
noticable unless you have apache handling a high volume of requests.

since you can only have one installed at a time, you should be able to
check out what is being used with apt-cache:

$ apt-cache policy <pkg name>


gpg-key: http://www.zettazebra.com/files/key.gpg

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: