tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas.Rimm...@sri.ch
Subject AW: Tomcat mod_jk very slow if used with apache
Date Fri, 20 Apr 2001 12:03:03 GMT
solaris 2.7
apache 1.3.17
jakarta-tomcat-3.2.1 and corresponding mod_jk (no version found)

greethings, thomas
>>Could you be more explicit.
>>
>>OS, mod_jk version, tomcat version, apache version ....
>>
>>Thanks
>>
>>-
>>Henri Gomez                 ___[_]____
>>EMAIL : hgomez@slib.fr        (. .)
>>PGP KEY : 697ECEDD    ...oOOo..(_)..oOOo...
>>PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6
>>
>>
>>
>> >-----Original Message-----
>> >From: rimmele7@swissinfo.org [mailto:rimmele7@swissinfo.org]
>> >Sent: Friday, April 20, 2001 10:52 AM
>> >To: tomcat-user@jakarta.apache.org
>> >Subject: Tomcat mod_jk very slow if used with apache
>> >
>> >
>> >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
> >

Mime
View raw message