"Prashant Thakkar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > Thanks, > But this is the clients application which we are running. We dont have the > access to the servlet code. That was the the obvious reason we had > increased > the thread limit to 250. > > Other thing i would like to know is about the thread pooling. How can i > use > this with tomcat 5.0.28 > Below is the connector which we are using: > > <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 --> > <Connector port="8080" > maxThreads="250" minSpareThreads="25" maxSpareThreads="75" > enableLookups="false" redirectPort="8443" acceptCount="100" > debug="0" connectionTimeout="0" > disableUploadTimeout="true" />
You almost certainly don't want connectionTimeout="0". That will tie up threads until the browser decides to drop the connection. > <!-- Note : To disable connection timeouts, set connectionTimeout value > to 0 --> > > <!-- Note : To use gzip compression you could set the following properties > : > > compression="on" > compressionMinSize="2048" > noCompressionUserAgents="gozilla, traviata" > compressableMimeType="text/html,text/xml" > --> > > <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 --> > <!-- > <Connector port="8443" > maxThreads="150" minSpareThreads="25" maxSpareThreads="75" > enableLookups="false" disableUploadTimeout="true" > acceptCount="100" debug="0" scheme="https" secure="true" > clientAuth="false" sslProtocol="TLS" /> > --> > > <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --> > <Connector port="8009" > enableLookups="false" redirectPort="8443" debug="0" > protocol="AJP/1.3" /> > > <!-- Define a Proxied HTTP/1.1 Connector on port 8082 --> > <!-- See proxy documentation for more information about using this. --> > <!-- > <Connector port="8082" > maxThreads="150" minSpareThreads="25" maxSpareThreads="75" > enableLookups="false" > acceptCount="100" debug="0" connectionTimeout="20000" > proxyPort="80" disableUploadTimeout="true" /> > --> > > Thanks and Regards, > - Prashant Thakkar > > On 6/19/07, Robert Harper <[EMAIL PROTECTED]> wrote: >> >> Do as it says and increase the max threads parameter or manage your >> threads >> better. >> >> Robert S. Harper >> Senior Engineer >> Information Access Technology, Inc. >> 1100 East 6600 South, Suite 300 >> Salt Lake City Utah USA 84121-7411 >> (801)265-8800 Ext. 255 >> FAX (801)265-8880 >> >> >> This e-mail is intended only for the addressee and may contain >> confidential >> and/or privileged information. Any review, retransmission, or action >> taken >> upon this information by persons other than the intended recipient is >> prohibited by law. If you received this communication in error, please >> contact us immediately at 801-265-8800. Although this e-mail and any >> attachments are believed to be free of any virus or other defect, it is >> the >> responsibility of the recipient to ensure that anything received or >> opened >> is virus free. No responsibility is accepted by IAT for any loss or >> damage >> in the event that such a virus or defect exists. >> >> -----Original Message----- >> From: Prashant Thakkar [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, June 19, 2007 7:25 AM >> To: users@tomcat.apache.org >> Subject: How can i configure tomcat to avoid threads error in tomcat >> >> Hi All, >> >> I am frequently getting this error in tomcat which stops my tomcat >> service. >> Pl help me its urgent and costing my service as well: >> >> I am getting bellow error in my catalina logs: >> Jun 19, 2007 5:55:44 PM org.apache.tomcat.util.threads.ThreadPool logFull >> SEVERE: All threads (250) are currently busy, waiting. Increase >> maxThreads >> (250) or check the servlet status >> Thanks in advance >> - Prashant Thakkar >> >> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > Prashant Thakkar > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]