RFE: apache2 port only allows prefork MPM when worker MPM is Apple recommended
Reported by: |
gk5885@… |
Owned by: |
james@… |
Priority:
|
Normal
|
Milestone:
|
|
Component:
|
ports
|
Version:
|
|
Keywords:
|
|
Cc:
|
|
Port:
|
|
|
|
The apache2 port builds using the default MPM for "unix" distributions which is the prefork MPM. This
MPM is a non-threaded pre-forking implementation. However, in recent Apple documentation ( http://
developer.apple.com/tools/subversionxcode.html ) it is recommeneded that apache2 is built using the
worker MPM (the multi-process, multi-threaded MPM). Accoring to Apache, its virute lies in the fact that
"by using threads to serve requests, it is able to serve a large number of requests with less system
resources than a process-based server. Yet it retains much of the stability of a process-based server by
keeping multiple processes available, each with many threads."
I would recommend that in the least there is a variant that adds --with-mpm=work to the configure.args,
but believe that it should be enabled by default and that the prefork MPM be a variant for those that can't/
don't want to use it.
Change History (9)
Owner: |
changed from darwinports-bugs@… to james@…
|
Summary: |
apache2 port only allows prefork MPM when worker MPM is Apple recommended →
RFE: apache2 port only allows prefork MPM when worker MPM is Apple recommended
|
Type: |
defect →
enhancement
|
Description: |
modified (diff)
|
Milestone: |
→ Available Ports
|
Milestone: |
Available Ports →
Port Enhancements
|
Priority: |
Expected →
Normal
|
Version: |
1.0
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Milestone: |
Port Enhancements
|
I agree adding different mpm support as different variants is a good idea. Fink has something similar by providing differnt debian packages for different apache core compiled with different mpm.