Increasing the thread pool size
The jboss.system:service=ThreadPool MBean enables you to change the thread
pool size. If you find that the response time on your application has suddenly
increased, it could be that there aren’t enough threads to handle the requests. You
can use this MBean to view how many requests are waiting for a thread (the QueueSize
attribute), and if a large number of requests are waiting, you can increase the maximum
number of threads available by changing the MaximumPoolSize attribute value.
本文介绍如何通过JBoss的ThreadPoolMBean调整线程池大小。当应用程序响应时间增加时,可能是由于线程不足导致请求积压。通过查看QueueSize属性了解等待线程的请求数量,并调整MaximumPoolSize属性值来增加可用的最大线程数。
2万+

被折叠的 条评论
为什么被折叠?



