Hello,

 

1)I am having an issue withTomcat running out of threads it seems:

ps -dfm | grep tomc

tomcat   16983     1  0 Apr23 ?        00:01:39 /usr/java/bin/java
-Xmx2000m -Djava.awt.headless=true
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties
-Djava.endorsed.dirs=/opt/tomcat/endorsed -classpath
:/opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/commons-logging-api.jar
-Dcatalina.base=/opt/tomcat -Dcatalina.home=/opt/tomcat
-Djava.io.tmpdir=/opt/tomcat/temp org.apache.catalina.startup.Bootstrap
start

tomcat       -     -  0 Apr23 -        00:00:14 -

tomcat       -     -  0 Apr23 -        00:00:00 -

tomcat       -     -  0 Apr23 -        00:00:00 -

tomcat       -     -  0 Apr23 -        00:00:00 -

tomcat       -     -  0 Apr23 -        00:00:00 -

tomcat       -     -  0 Apr23 -        00:00:03 -

tomcat       -     -  0 Apr23 -        00:00:00 -

tomcat       -     -  0 Apr23 -        00:00:00 -

tomcat       -     -  0 Apr23 -        00:00:00 -

tomcat       -     -  0 Apr23 -        00:00:00 -

tomcat       -     -  0 Apr23 -        00:00:23 -

...

70     hreads and up

 

2)It looks like tomcat is not closing idle connections. I read there are
2 parameters that I can tweak idle connection time out with.  I think
its "connectionTimeout" and "connection_pool_timeout".

I know where to set "connectionTimeout" it's my server.xml, but not sure
about not sure about "connection_pool_timeout". What's the difference
between these 2 parameters?

 

Snippet from my server.xml file:

    <Connector port="8080" protocol="HTTP/1.1"

               connectionTimeout="20000"

               maxThreads="140"

               minSpareThreads="4"

               maxSpareThreads="10"

               tcpNoDelay="true"

               enableLookups="false"

               redirectPort="8443" />

 

Thank a million

 

 

PAVEL PRAGIN 
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  

T >  650.328.3900
M > 650.521.4377 
F >  650.328.3901 

SolutionSet 
The Brand Technology Company 
http://www.SolutionSet.com <http://www.solutionset.com/>  

PA > 131 Lytton Ave., Palo Alto, CA 94301 
SF > 85 Second St., San Francisco, CA 94105

 

Reply via email to