Peter Johnson [
http://community.jboss.org/people/peterj] created the discussion
"Re: JBoss 4.2.2 number of threads that could be supported"
To view the discussion, visit:
http://community.jboss.org/message/615854#615854
--------------------------------------------------------------
Your formula is fairly accurate - given your system's memory you can support about
1000 threads. However, being able to physcially support that number of threads and having
the system still run while juggling that number of threads are two different things. The
only way to really tell how many threads your app can handle is through load testing. And
while doing that you need to monitor system data, determine where the bottleneck is, then
eliminate or reduce the bottleneck, and repeat until you get the performance you like. And
there can be numerous reasons why your app starts to slow down at 500 threads: contention
within the app, the app server or even the OS/hardware.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/615854#615854]
Start a new discussion in Performance Tuning at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]