tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From WenDong Zhang <zwd2...@gmail.com>
Subject Re: mod_jk Problem
Date Wed, 15 Apr 2009 07:59:15 GMT
I've the same problem too, and I found that if the tomcat response time is
long, you need to set connection_pool in your workers.properties.

## my properties

worker.node65.port=8009
worker.node65.host=9.186.10.65
worker.node65.type=ajp13
worker.node65.connection_pool_size=100
worker.node65.connection_pool_minsize=50
worker.node65.connection_pool_timeout=500
worker.node65.lbfactor=2



On Wed, Apr 15, 2009 at 2:19 PM, Munkhbold.B <munkhbold@mongolcontent.mn>wrote:

> Hi
>
>
>
> I have a problem with tomcat connector mod_jk.
>
> From time to time the connector completely hangs apache.
>
> Tomcat alone is still alive, but apache no longer replies to requests, and
> I
> need to restart both
>
>
>
> In mod_jk logs file I have a lot of lines like
>
>
>
> [info] init_jk::mod_jk.c (3183): mod_jk/1.2.28 initialized
>
>  [info] jk_handler::mod_jk.c (2608): Aborting connection for worker=node1
>
>  [info] ajp_process_callback::jk_ajp_common.c (1788): Writing to client
> aborted or client network problems
>
>  [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to
> tomcat failed (unrecoverable), because of client write error (attempt=1)
>
>  [info] jk_handler::mod_jk.c (2608): Aborting connection for worker=node1
>
>  [info] ajp_process_callback::jk_ajp_common.c (1788): Writing to client
> aborted or client network problems
>
>  [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to
> tomcat failed (unrecoverable), because of client write error (attempt=1)
>
>  [info] jk_handler::mod_jk.c (2608): Aborting connection for worker=node1
>
>  [info] ajp_process_callback::jk_ajp_common.c (1788): Writing to client
> aborted or client network problems
>
>  [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to
> tomcat failed (unrecoverable), because of client write error (attempt=1)
>
>  [info] jk_handler::mod_jk.c (2608): Aborting connection for worker=node1
>
>  [info] ajp_process_callback::jk_ajp_common.c (1788): Writing to client
> aborted or client network problems
>
>  [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to
> tomcat failed (unrecoverable), because of client write error (attempt=1)
>
>  [info] jk_handler::mod_jk.c (2608): Aborting connection for worker=node1
>
>
>
>
>
> I'm using versions
>
> mod_jk/1.2.28
>
> Apache/2.2.8
>
> tomcat/6.0.14
>
>
>
> I googled and found this:
>
>
> http://mail-archives.apache.org/mod_mbox/tomcat-users/200611.mbox/%3C456042F
> 5.4070300@kippdata.de%3E
>
>
>
> But this error still on mod_jk/1.2.28?
>
>
>
>
>
> Any help appreciated.
>
>
>
> thanks,
>
>
>
> Muugii
>
>


-- 
Best Regards!
Wen Dong

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message