Hi Pavle,
Do you use a database? Is there a firewall between Tomcat and the database?
If both answers are "yes", try using testWhileIdle, validationQuery, time between eviction runs (can't remember property name) and other DBCP properties.
Other than that, my typical advice, which I learnt from Yoav Shapira IIRC, is (as Lipi told you), kill -QUIT and see what happens.
Antonio Fiol
Pavle wrote:
The main problem is that there is no load on the serever when this occurs. Everything works perfectly during the normal working week. The message and the hunging occurs during weekends, when there is low traffic.
Pavle
-----Original Message-----
From: rlipi [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 8:46 AM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: All threads (150) are currently busy....
Hi, it means that all threads are currently performing some request.
It can have two reasons:
1) High load of the server - requests come quicker than they are finished. You can increase "maxThreads" or you can look into your app why it takes so long time.
2) Some requests are not finished due to some bug in your app. On Linux you can send "kill -QUIT" to your Tomcat process. You will receive stack traces of all VM threads and you can see where the threads currently are.
Lipi
stops-----Original Message----- From: Pavle [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 8:21 AM To: [EMAIL PROTECTED] Subject: All threads (150) are currently busy....
After several days of good woking my Tomcat 5.0.16 on RedHat 9.0 box
accepting connection on SSL connector. In catalina.out I am recievingthis
maxSpareThreads="75"message:
SEVERE: All threads (150) are currently busy....
My server.xml file for SSL connector is the following:
<Connector port="8443"
maxThreads="150" minSpareThreads="25"
enableLookups="false" disableUploadTimeout="true"secure="true">
connectionTimeout="20000"
acceptCount="100" debug="0" scheme="https"
<Factory clientAuth="false" protocol="TLS"keystoreFile="*******"
keystorePass="***********"/> </Connector>
I tried to put smaller connectionTimeout but it does not work too.
I am not able to find anything on Google.
Thanks
Pavle
smime.p7s
Description: S/MIME Cryptographic Signature