[jboss-user] [Beginners Corner] - Re: Augmenting the thread pool for more performance
PeterJ
do-not-reply at jboss.com
Fri Mar 27 11:38:16 EDT 2009
Web services come in over HTTP, thus changing the max threads allowed for HTTP should increase the number of allowed connections. You can set this in server/xxx/deploy/jboss-web.deployer/server.xml, change maxThreads:
<Connector port="8080" address="${jboss.bind.address}"
| maxThreads="250" maxHttpHeaderSize="8192"
| emptySessionPath="true" protocol="HTTP/1.1"
| enableLookups="false" redirectPort="8443" acceptCount="100"
| connectionTimeout="20000" disableUploadTimeout="true" />
Note that each connection uses its own thread so while the only limit is the number of threads that the operating system can support, too many threads will cause contention issues. The maximum practical number of threads depends on your hardware - mores cores/CPUs and/or faster CPUs wcan handle more threads.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221603#4221603
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221603
More information about the jboss-user
mailing list