You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ramon Gonzalez <rg...@knowledgenetworks.com> on 2001/04/19 17:50:38 UTC
static mod_jk for apache on solaris?
Can anyone offer any help on compiling a static mod_jk for apache on
solaris?
Thanks,
ramon.
Tomcat mod_jk very slow if used with apache
Posted by ri...@swissinfo.org.
I encountered the following problem:
Tomcat was about 20 times slower if the access went via apache, compared
to a direct access.
The solution was the following: I had to put the loglevel of mod_jk to error
instead of warn(as proposed).
httpd.conf:
JkLogLevel error
Mod_jk does not seem to be a quick logger.
This is the logoutput for out simple request if
JkLogLevel warn:
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker, Found
a match loadbalancer
[jk_worker.c (123)]: Into wc_get_worker_for_name loadbalancer
[jk_worker.c (127)]: wc_get_worker_for_name, done found a worker
[jk_lb_worker.c (471)]: Into jk_worker_t::get_endpoint
[jk_lb_worker.c (300)]: Into jk_endpoint_t::service
[jk_ajp13_worker.c (651)]: Into jk_worker_t::get_endpoint
[jk_ajp13_worker.c (536)]: Into jk_endpoint_t::service
[jk_ajp13.c (346)]: Into ajp13_marshal_into_msgb
[jk_ajp13.c (480)]: ajp13_marshal_into_msgb - Done
[jk_connect.c (108)]: Into jk_open_socket
[jk_connect.c (115)]: jk_open_socket, try to connect socket = 8
[jk_connect.c (124)]: jk_open_socket, after connect ret = 0
[jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on
[jk_connect.c (140)]: jk_open_socket, return, sd = 8
[jk_ajp13_worker.c (166)]: In jk_endpoint_t::connect_to_tomcat, connected
sd = 8
[jk_ajp13.c (527)]: ajp13_unmarshal_response: status = 200
[jk_ajp13.c (534)]: ajp13_unmarshal_response: Number of headers is = 1
[jk_ajp13.c (576)]: ajp13_unmarshal_response: Header[0] [Content-Type] =
[text/html]
[jk_ajp13_worker.c (489)]: Into jk_endpoint_t::done
[jk_lb_worker.c (378)]: Into jk_endpoint_t::done
Greethings, Thomas
________________________________________
Dreaming of a Swiss Account? Get it here: http://freemail.swissinfo.org