Any tips on this issue? -----Original Message----- From: Wei Zhao [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 04, 2005 11:22 AM To: tomcat-user@jakarta.apache.org Cc: [EMAIL PROTECTED] Subject: Tomcat does not honor acceptCount configuration variable
Hi: I am resending this question since I did not get any answer last time. We've just migrated Tomcat from version 4.06 to 5.5.9 and found that the configuration variable 'acceptCount' under 'Connector' element takes no effect. For example, if I set acceptCount to 1000 but leave maxThreads to 75, Tomcat cannot handle 500 concurrent requests. I have to increase the maxThreads to around 1000, otherwise, most of the request will be rejected by Tomcat. But you know, increase the maxThread is not an efficient way and web server should be able to keep a queue much bigger than the maximum work thread. I remember we have similar problem in Tomcat 4.0.6 and we did some code change and recompile catalina.jar ourselves to solve the probelm. I am wondering whether this issue has been resolved in Tomcat 5.5 <Connector port="8900" protocol="HTTP/1.1" maxThreads="75" acceptCount="500" redirectPort="8901" enableLookups="true" maxSpareThreads="75" minSpareThreads="5" connectionTimeout="5000" maxHttpHeaderSize="8192" disableUploadTimeout="true"/> Thanks Wei __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? ÑÅ»¢Ãâ·ÑGÓÊÏä£ÖйúµÚÒ»¾øÎÞÀ¬»øÓʼþɧÈų¬´óÓÊÏä http://cn.mail.yahoo.com/?id=77071 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]