tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Babu Satasiya <babulalsatas...@gmail.com>
Subject increase the backend idle connection timeout or the connection_pool_minsize
Date Tue, 03 Apr 2007 21:00:45 GMT

Hi,

Currently we were trying with new mod_jk 1.2.21 version and we got same
error message but we do not have problem due to it retries and reopen new
socket and continue serving jsp pages. We are using Apache 2.0.53, mod_jk
1.2.21, Tomcat 5.0.28 and RHEL3 update5. Our architecture is HW load
balancer - two Apache + mod_jk server - thirteen tomcat servers load
balanced.

Workers.properties for one of tomcat:

worker.tc_3_4.host=cna-stg-app-16
worker.tc_3_4.port=8003
worker.tc_3_4.type=ajp13
worker.tc_3_4.lbfactor=1
worker.tc_3_4.connection_pool_size=50
worker.tc_3_4.connection_pool_timeout=0
worker.tc_3_4.socket_timeout=0
worker.tc_3_4.socket_keepalive=1
worker.tc_3_4.recovery_options=0
worker.tc_3_4.sticky_session=1

We change pool_timeout and socket_time to 0 as above but it did not help it
still gives same error. We also tried connection_pool_minsize=40 but that
also did not help.

[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
map_uri_to_worker::jk_uri_worker_map.c (616): Found a wildchar match
'/cnams/*=loadbalancer'
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug] jk_handler::mod_jk.c
(2054): Into handler jakarta-servlet worker=loadbalancer r->proxyreq=0
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
wc_get_worker_for_name::jk_worker.c (114): found a worker loadbalancer
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug] wc_maintain::jk_worker.c
(321): Maintaining worker loadbalancer
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2402): reached pool min size 25 from 50 cache
slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2410): recycled 0 sockets in 0 seconds from
50 pool slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2402): reached pool min size 25 from 50 cache
slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2410): recycled 0 sockets in 0 seconds from
50 pool slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2402): reached pool min size 25 from 50 cache
slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2410): recycled 0 sockets in 0 seconds from
50 pool slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2402): reached pool min size 25 from 50 cache
slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2410): recycled 0 sockets in 0 seconds from
50 pool slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2402): reached pool min size 25 from 50 cache
slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2410): recycled 0 sockets in 0 seconds from
50 pool slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2402): reached pool min size 25 from 50 cache
slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2410): recycled 0 sockets in 0 seconds from
50 pool slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2402): reached pool min size 25 from 50 cache
slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2410): recycled 0 sockets in 0 seconds from
50 pool slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2402): reached pool min size 25 from 50 cache
slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2410): recycled 0 sockets in 0 seconds from
50 pool slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2402): reached pool min size 25 from 50 cache
slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2410): recycled 0 sockets in 0 seconds from
50 pool slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2402): reached pool min size 25 from 50 cache
slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2410): recycled 0 sockets in 0 seconds from
50 pool slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2402): reached pool min size 25 from 50 cache
slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2410): recycled 0 sockets in 0 seconds from
50 pool slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2402): reached pool min size 25 from 50 cache
slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2410): recycled 0 sockets in 0 seconds from
50 pool slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2402): reached pool min size 25 from 50 cache
slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_maintain::jk_ajp_common.c (2410): recycled 0 sockets in 0 seconds from
50 pool slots
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
maintain_workers::jk_lb_worker.c (517): decay with 2^3
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
wc_get_name_for_type::jk_worker.c (290): Found worker type 'lb'
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug] init_ws_service::mod_jk.c
(604): Service protocol=HTTP/1.1 method=GET host=(null) addr=172.19
.88.138 name=cna-stage-nv.cisco.com port=80 auth=(null) user=(null)
laddr=172.20.155.45 raddr=172.19.88.138
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug] service::jk_lb_worker.c
(848): service sticky_session=1 id='empty'
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
get_most_suitable_worker::jk_lb_worker.c (793): found best worker tc_3_3
(tc_3_3) using metho
d 'Request'
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug] service::jk_lb_worker.c
(871): service worker=tc_3_3 route=tc_3_3
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_get_endpoint::jk_ajp_common.c (2329): acquired connection pool slot=0
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_marshal_into_msgb::jk_ajp_common.c (548): ajp marshaling done
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_service::jk_ajp_common.c (1785): processing tc_3_3 with 2 retries
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_send_request::jk_ajp_common.c (1184): (tc_3_3) socket 17 is not
connected any more (errno
=11)
[Mon Apr 02 22:26:06 2007] [13042:48048] [info] 
ajp_send_request::jk_ajp_common.c (1215): (tc_3_3) error sending request.
Will try another po
oled connection
[Mon Apr 02 22:26:06 2007] [13042:48048] [info] 
ajp_send_request::jk_ajp_common.c (1241): (tc_3_3) all endpoints are
disconnected
[Mon Apr 02 22:26:06 2007] [13042:48048] [info] 
ajp_send_request::jk_ajp_common.c (1244): (tc_3_3) increase the backend idle
connection timeo
ut or the connection_pool_minsize
[Mon Apr 02 22:26:06 2007] [13042:48048] [info] 
ajp_service::jk_ajp_common.c (1930): (tc_3_3) sending request to tomcat
failed,  recoverable 
operation attempt=1
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
jk_open_socket::jk_connect.c (335): socket TCP_NODELAY set to On
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
jk_open_socket::jk_connect.c (348): socket SO_KEEPALIVE set to On
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
jk_open_socket::jk_connect.c (433): trying to connect socket 17 to
172.20.155.162:8002
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
jk_open_socket::jk_connect.c (459): socket 17 connected to
172.20.155.162:8002
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_connect_to_endpoint::jk_ajp_common.c (850): Connected socket 17 to
(172.20.155.162:8002)
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_connection_tcp_send_message::jk_ajp_common.c (896): sending to ajp13
pos=4 len=234 max=81
92
[Mon Apr 02 22:26:06 2007] [13042:48048] [debug]
ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0000    12 34 00 E6
02 02 00 08 48 54
 54 50 2F 31 2E 31  - .4......HTTP/1.1

With regards,

Babu Satasiya

-- 
View this message in context: http://www.nabble.com/increase-the-backend-idle-connection-timeout-or-the-connection_pool_minsize-tf3522364.html#a9826278
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message