Yes, I did it. But it is not solution. Server doesn't answer slowly or for only some requests. It doesn't answer at all. It means that treads are not terminated and resources are not released. Sometimes, server doesn't answer without "All threads are currently busy" exception. That is why I think that the problem is some death lock.
Lipi > -----Original Message----- > From: STOCKHOLM, Raymond [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 06, 2004 8:56 AM > To: Tomcat Users List > Subject: RE: How to limit time for Connector threads? > > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
