DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=44170>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44170 Summary: maxSpareThreads inoperative in http connector (under JBOSS 4.0.5?) Product: Tomcat 5 Version: 5.5.20 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Connector:HTTP AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Running Tomcat in a JBOSS container. I am having a problem where threads aren't being destroyed when there are too many idle threads: <!-- A HTTP/1.1 Connector on port 8080 --> <Connector port="${tomcat.port}" address="${jboss.bind.address}" maxThreads="500" minSpareThreads="50" maxSpareThreads="100" strategy="ms" maxHttpHeaderSize="8192" emptySessionPath="true" enableLookups="false" redirectPort="${tomcat.secure.port}" acceptCount= "100" connectionTimeout="20000" disableUploadTimeout="true"/> $ for host in `seq -w 1 30`; do echo $host; wget -qO - http://exobxw$host/administration/queryjmx.jsp | grep currentThread; done (trimmed output where the values were within expected limits) 09 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadCount: 153 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadsBusy: 18 11 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadCount: 315 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadsBusy: 27 22 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadCount: 220 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadsBusy: 18 23 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadCount: 185 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadsBusy: 18 24 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadCount: 141 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadsBusy: 14 25 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadCount: 188 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadsBusy: 18 27 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadCount: 127 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadsBusy: 21 28 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadCount: 247 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadsBusy: 15 29 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadCount: 202 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadsBusy: 18 30 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadCount: 242 jboss.web:name=http-0.0.0.0-8080,type=ThreadPool: currentThreadsBusy: 16 There's a bug raised in the JBOSS JIRA which has been marked as a "will not fix" because Tomcat is using the wrong thread pool: http://jira.jboss.org/jira/browse/JBAS-4412 Remy Maucherat [27/Nov/07 11:31 AM] The thread pool used in that Tomcat version does not have the capability to scale back the amount of threads used. This used to work in an older version, I believe. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]