On 03/05/2014 01:56 PM, Fred Moyer wrote:
Recent testing on the 2.4 threading branch has uncovered the issue
where the httpd worker type cannot be determined in Apache2::Build for
the reason that MPM_NAME is no longer included in the output of apxs
-q:
fredmoyer@aiko ~/dev $ ./httpd24/bin/apxs -q | grep MPM
fredmoyer@aiko ~/dev $
This seems to be a blocking issue in getting the 2.4 threading branch
to build on prefork based environments. Soliciting suggestions here
for a solution.
The httpd executable on Linux provides this information for the
default server mpm, but I do not know the implications of this
approach on Windows.
fredmoyer@aiko ~/dev $ ./httpd24/bin/httpd -V
Server version: Apache/2.4.7 (Unix)
Server built: Mar 5 2014 11:55:08
Server's Module Magic Number: 20120211:27
Server loaded: APR 1.5.0, APR-UTIL 1.5.3
Compiled using: APR 1.5.0, APR-UTIL 1.5.3
Architecture: 64-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/Users/fredmoyer/dev/httpd24"
-D SUEXEC_BIN="/Users/fredmoyer/dev/httpd24/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org
For additional commands, e-mail: dev-h...@perl.apache.org
Should this really be compile time? You can switch the MPM in config and restart apache.
How about always building for worker/event mpm, and then "do the right thing"
when we are under prefork?
And isn't windows always using some windows_mpm? You never really wanna change
that do you? So the windows build can hard code something and we can forget
about it. Its only *nix that switches, right?
-Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org
For additional commands, e-mail: dev-h...@perl.apache.org