Opened 18 years ago

Closed 17 years ago

Last modified 15 years ago

#5736 closed enhancement (fixed)

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:

Description (last modified by jberry@…)

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)

comment:1 Changed 18 years ago by mww@…

Owner: changed from darwinports-bugs@… to james@…
Summary: apache2 port only allows prefork MPM when worker MPM is Apple recommendedRFE: apache2 port only allows prefork MPM when worker MPM is Apple recommended

comment:2 Changed 18 years ago by wyuenho (Jimmy Yuen Ho Wong)

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.

comment:3 Changed 18 years ago by markd@…

Type: defectenhancement

comment:4 Changed 17 years ago by jberry@…

Description: modified (diff)

Partially resolved in r21093. Added new variants workermpm, preforkmpm, and eventmpm that choose the various mpm type at build time.

Please verify functionality with workermpm and let us know if it works, and if you still think we should make the worker mpm the default: it sounds like good thing, but we need a little testing before we make that change.

Leaving bug open pending additional feedback on that point.

comment:5 Changed 17 years ago by pipping@…

Milestone: Available Ports

comment:6 Changed 17 years ago by pipping@…

Milestone: Available PortsPort Enhancements

comment:7 Changed 17 years ago by nox@…

Priority: ExpectedNormal
Version: 1.0

comment:8 Changed 17 years ago by nox@…

Resolution: fixed
Status: newclosed

apache2 has now a workermpm variant.

comment:9 Changed 15 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.