[jboss-dev-forums] [JBoss Web Development] - How to set min thread pool?

Scale It do-not-reply at jboss.com
Fri Jul 13 03:26:13 EDT 2012


Scale It [https://community.jboss.org/people/meselfe] created the discussion

"How to set min thread pool?"

To view the discussion, visit: https://community.jboss.org/message/747929#747929

--------------------------------------------------------------
Im trying to set the min threads for http in /deploy/jbossweb.sar/server.xml

      <Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}" 
               connectionTimeout="20000" redirectPort="8443" acceptCount="100" maxThreads="200" *minSpareThreads="50"* />

When i profile the jboss server using either visualVM or jprofiler I only see 6 http threads (seems to increase with load) - I expected minimum 50?

Am I misunderstanding the minSpareThreads option or editing the wrong file?

(using JBoss EAP 5.1.2, JDK 1.6.0_21)
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/747929#747929]

Start a new discussion in JBoss Web Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2112]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120713/8f1301c1/attachment.html 


More information about the jboss-dev-forums mailing list