[Performance Tuning] New message: "Re: Tuning the MaxThreadPool"
by Peter Johnson
User development,
A new message was posted in the thread "Tuning the MaxThreadPool":
http://community.jboss.org/message/529994#529994
Author : Peter Johnson
Profile : http://community.jboss.org/people/peterj
Message:
--------------------------------------------------------------
One more thought - the thread pool monitored by the "jboss.system:service=ThreadPool" MBean comes into play only when using EJBs from remote clients. At least, I think that is the only situation under which that pool is used, there could be others. (There is even the possibility that I am thinking about another pool...) So no matter how busy the system gets servicing web requests, even if those requests in turn employ EJBs, this thread pool never gets used. And in addition, even if the pool gets used the QueueSize might not go above 0 until the threads in the pool are exhausted and requests start queuing up wafting for an available thread. But I am just guessing about that. I recall researching this a while back and had it clear in my mind then but it has been a while...
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529994#529994
16 years, 4 months
[Performance Tuning] New message: "Re: Tuning the MaxThreadPool"
by Peter Johnson
User development,
A new message was posted in the thread "Tuning the MaxThreadPool":
http://community.jboss.org/message/529991#529991
Author : Peter Johnson
Profile : http://community.jboss.org/people/peterj
Message:
--------------------------------------------------------------
I cannot tell which mbean you are looking at, the name you gave is not complete. The mbean "jboss.web:name=http-127.0.0.1-8080;type=ThreadPool" (IP address and port number varies) keeps track of the number of active threads but does not track the current wait queue depth. There is no queueSize attribute. In fact, none of the MBeans that contain the property "name=http-127.0.0.1-8080" in their names have a queueSize attribute. I looked in both AS 3.2.4 and 5.1.0 (it would help if you stated the version of JBoss AS).
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529991#529991
16 years, 4 months