Hi,

The documentation for  mod_jk (eg. version 1.2.25) about --enable-prefork 
says:

"In case you build mod_jk for a multi-threaded Apache httpd 2.0/2.2 MPM
(Multi-Processing Module), some areas of mod_jk code need to be synchronized
to make it thread-safe. Because configure can not easily detect, whether
your are using a multi-threaded MPM, mod_jk by default is always build
thread-safe for Apache httpd 2.0/2.2. If you are sure, that your MPM is not
multi-threaded, you can use "--enable-prefork" to force the removal of the
synchronization code (thus increasing performance a bit). For instance, the
prefork MPM is not multi-threaded. For Apache httpd 1.3 this flag will be
set automatically."


If you specify apxs, doesn't it require a config_vars.mk which has a value
pair MPM_NAME = prefork  and thus configure could know that prefork was
used?
Alternatively assuming that apxs is in the same directory then 'httpd -V'
could tell that 
"Server MPM:     Prefork"


The question I have: if the Apache httpd v2.2 is prefork and the mod_jk is
compiled "default threaded", are there any potential instabilities? (on
Solaris and Linux)

Many thanks - Fred
-- 
View this message in context: 
http://www.nabble.com/mod_jk---enable-prefork-tf4417291.html#a12599440
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to