我在JBoss7.1.1.Final上配置了一个AJP连接器。我分配一个线程池,该连接器蒙山一些“坏”的配置:jboss 7域:线程配置
<bounded-queue-thread-pool name="ajp-executor">
<core-threads count="10" per-cpu="20"/>
<queue-length count="10" per-cpu="20"/>
<max-threads count="10" per-cpu="20"/>
<keepalive-time time="10" unit="seconds"/>
</bounded-queue-thread-pool>
我关闭和启动我的JBoss和standalone.xml想出了另一种配置:
<bounded-queue-thread-pool name="ajp-executor">
<core-threads count="90"/>
<queue-length count="90"/>
<max-threads count="90"/>
<keepalive-time time="10" unit="seconds"/>
</bounded-queue-thread-pool>
这是一个正确的。好吧,JBoss删除了“坏”配置。但是,为什么计数是90? JBoss如何计算这个值?