Opened 18 years ago

Last modified 15 years ago

#5736 closed enhancement

apache2 port only allows prefork MPM when worker MPM is Apple recommended — at Initial Version

Reported by: gk5885@… Owned by: darwinports-bugs@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description

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 (0)

Note: See TracTickets for help on using tickets.