Maybe you should increase the number of threads in your connector.

check attribut maxProcessors in your server.xml
In this example, I set it to 500 instead of 75 (default value)

    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="80" minProcessors="30" maxProcessors="500"
               enableLookups="true" redirectPort="8443"
               acceptCount="100" debug="0" connectionTimeout="20000"
               useURIValidationHack="false" disableUploadTimeout="true" />

-----Message d'origine-----
De : rlipi [mailto:[EMAIL PROTECTED]
Envoy� : jeudi 6 mai 2004 08:40
� : 'Tomcat Users List'
Objet : How to limit time for Connector threads?


Hallo,
is it possible in any way to limit time for threads that realize user
requests?

Sometimes (once a day in average), the Tomcat 5.0.19 server doesn't
answers. The reason is in error message "All threads are currently
busy". Probably there is a bug in the web application. Some kind of
synchronization death lock, I think. 
But localization of this bug is very hard. So, termination (and release
of all resources) of long time threads can be a work around.

Thank you for any suggestions,
Lipi.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to