JBoss Community

Re: Increase the "Maximum number of threads created"

created by Radoslav Husar in Performance Tuning - View the full discussion

It is what you specified in the max-connections. So it will be 200. When you get over the limit, you will get a message like this:

 

19:10:41,751 INFO  [org.apache.tomcat.util.net.JIoEndpoint] (http--127.0.0.1-8080-Acceptor-0) Maximum number of threads (200) created for connector with address /127.0.0.1 and port 8080

 

You can test these things with apache benchmark tool (http://httpd.apache.org/docs/2.2/programs/ab.html) or any other similar load driver tool.

 

If you want more control over the threads, use the threading subsystem as explained in the post above (https://community.jboss.org/message/775298#775298).

 

Rado

Reply to this message by going to Community

Start a new discussion in Performance Tuning at Community