Fletcher Cocquyt wrote:
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

You can add connection_pool_minsize. See the workers.properties pages in the reference guide.

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>

This looks like a DataSource definition (Tomcat to database). The "idle connection timeout" in the case of tomcat is the value of conncetiontimeout in the Connector element of server.xml. You need to find the AJP/1.3 connector.


Which parameters are these log messages referring to?

Regards,

Rainer

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