on that connection pool size, these two:

           <parameter>
                    <name>maxActive</name>
                    <value>20</value>
                  </parameter>
                  <parameter>
                    <name>maxIdle</name>
                    <value>2</value>
                  </parameter>

You're also only allowing 1 sec to connect it appears. Might ratchet it up a 
little more.

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] Behalf Of Fletcher Cocquyt
Sent: Monday, February 26, 2007 12:32 PM
To: users@tomcat.apache.org
Subject: increase the backend idle connection timeout or the
connection_pool_minsize


Hi,
This is a followup to my Feb14 post: Re: socket is not connected any more 
(errno=11)

I've just upgraded from 1.2.19 to 1.2.20 and the new log messages are:

increase the backend idle connection timeout or the connection_pool_minsize

I could not find much on which parameters this is referring to?
On the mod_jk side I have:

worker.tomcat-publicweb-01.type=ajp13 
worker.tomcat-publicweb-01.host=app-01
worker.tomcat-publicweb-01.port=12345
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

On the tomcat side I have:
                  <parameter>
                    <name>maxActive</name>
                    <value>20</value>
                  </parameter>
                  <parameter>
                    <name>maxIdle</name>
                    <value>2</value>
                  </parameter>
                  <parameter>
                    <name>maxWait</name>
                    <value>1000</value>
                  </parameter>
<parameter>                                                                    
                                                           
                <name>logAbandoned</name>
                <value>true</value>
              </parameter>

<parameter>
<name>removeAbandoned</name>
<value>true</value>
</parameter>
<parameter>
<name>removeAbandonedTimeout</name>
<value>1200</value>
</parameter>

Which parameters are these log messages referring to?

Many thanks,
Fletcher.


---------------------------------------------------------------------
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