Hi,

I think in mod_jk 1.2.20 these old parameters changed with new parameter
names, these old paramter does not take effect into your mod_jk. Please
change them with new name. 

Please refer URL for more details changes in new mod_jk:

http://tomcat.apache.org/connectors-doc/reference/printer/workers.html

worker.tomcat-publicweb-01.cachesize=10 
worker.tomcat-publicweb-01.cache_timeout=600

It should be:

worker.tomcat-publicweb-01.connection_pool_size=10 
worker.tomcat-publicweb-01.connection_pool_timeout=600
worker.tomcat-publicweb-01.connection_pool_minsize=6

I also suggest to increase the nos for  

worker.tomcat-publicweb-01.connection_pool_size=50
worker.tomcat-publicweb-01.connection_pool_minsize=26

This modification you need to do in workers.properties.

Please update this does not help. 

With regards,

Babu Satasiya

Cisco System Inc.


Fletcher Cocquyt wrote:
> 
> Rainer Jung <rainer.jung <at> kippdata.de> writes:
> 
> 
>> 
>> Yes, but the log message is talking about the min size. The default min
>> size is size/2, but we changed it between 1.2.19 and 1.2.20 to
>> (size+1)/2. So for prefork the min size was 0 until 1.2.19 and is 1
>> starting with 1.2.20.
> 
> So I tried connection_pool_minsize=1 - no discernable effect on error rate
> 
>> 
>> > 
>> > I've tried tuning all the other suggested parameters without a
>> noticable
>  effect
>> > on the rate of these info messages (2000-3000/hour)
>> > I tried: maxActive 40, maxIdle 5, maxWait 3000
>> > 
>> > no discernable difference in error rate.
>> > Maybe I need to modify them  with bigger deltas to see a difference?
>> > Is there a way to tell which parameter would have the most impact?
>> 
>> If those are for a DataSource, they have no relation to your mod_jk
>> messages.
> 
> Yes, maxActive 40, maxIdle 5, maxWait 3000 are all in the context.xml file
> in
>  the datasource definition - so these would not affect mod_jk messages - I 
> get that now!
> 
> 
>> > I tried connectionTimeout = 600000 (10 times the default of 60 seconds)
>> - no
> 
>> > reduction in error rate
>> 
>> Are you sure, you put it into the correct connector?
>> 
> I put it into the server.xml AJP connector - actually I'm not sure now if
> I had
> 
> the value in quotes:
> 
> <Server port="13135" shutdown="SHUTDOWN">
>   <Service name="Catalina">
> <Connector port="13138" />
>     <Connector port="13139" protocol="AJP/1.3" connectionTimeout="600000"
> />
>     <Engine name="Catalina" defaultHost="localhost" 
> jvmRoute="tomcat-publicweb-01">
>       <Logger className="org.apache.catalina.logger.FileLogger" />
>       <Host name="localhost" appBase="webapps" />
>     </Engine>
>   </Service>
> </Server>
> 
>> Please post your version numbers, platform details, log example and
>> relevant apache and tomcat configuration items.
> 
> Web servers: Solaris 9 x86, Apache 2.0.52, mod_jk 1.2.20
> App servers: Solaris 9 Sparc, tomcat 5.0
> 
> worker definition:
> 
> worker.tomcat-publicweb-01.type=ajp13 
> worker.tomcat-publicweb-01.host=irt-app-01
> worker.tomcat-publicweb-01.port=13139
> worker.tomcat-publicweb-01.lbfactor=50 
> worker.tomcat-publicweb-01.cachesize=10 
> worker.tomcat-publicweb-01.cache_timeout=600 
> worker.tomcat-publicweb-01.socket_keepalive=1 
> worker.tomcat-publicweb-01.retries=2
> worker.tomcat-publicweb-01.socket_timeout=30
> worker.tomcat-publicweb-01.connect_timeout=2000
> worker.tomcat-publicweb-01.prepost_timeout=5000
> worker.tomcat-publicweb-01.reply_timeout=300000
> 
> mod_jk errors:
>  ajp_send_request::jk_ajp_common.c (1201): (tomcat-publicweb-01) error
> sending
>  request. Will try another pooled connection
>  ajp_send_request::jk_ajp_common.c (1227): (tomcat-publicweb-01) all
> endpoints
>  are disconnected
>  ajp_send_request::jk_ajp_common.c (1230): (tomcat-publicweb-01) increase
> the 
> backend idle connection timeout or the connection_pool_minsize
>  ajp_service::jk_ajp_common.c (1916): (tomcat-publicweb-01) sending
> request to 
> tomcat failed,  recoverable operation attempt=1
> 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/increase-the-backend-idle-connection-timeout-or-the-connection_pool_minsize-tf3294954.html#a9718414
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