hap*_*ppy 5 ejb ejb-3.0 wildfly wildfly-10
在Wildfly 10服务器启动时,我们得到slsb-strict-max-pool为64
2017-08-24 12:51:09,164 INFO [org.jboss.as.ejb3] (MSC service thread 1-5) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 64 (per class), which is derived from thread worker pool sizing.
2017-08-24 12:51:09,166 INFO [org.jboss.as.ejb3] (MSC service thread 1-5) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 16 (per class), which is derived from the number of CPUs on this host.
Run Code Online (Sandbox Code Playgroud)
但是当我在下面为jboss-cli执行时,如下**max pool size is 20**图所示
/host=master/server=server-one/subsystem=ejb3/strict-max-bean-instance-pool=slsb-strict-max-pool/:read-resource(recursive=false)
Run Code Online (Sandbox Code Playgroud)
究竟Wildfly 10中ejb的默认最大池大小是多少?
小智 3
默认情况下,池大小是动态的,因为它是从工作线程池大小(“derive-size”属性)派生的。因此,在您的情况下,您有 4 个 CPU 核心,池大小为 64。在这种情况下,最大池大小值被忽略,因此 Wildfly 接口所说的是正确的运行时值。
https://wildscribe.github.io/WildFly/10.1/subsystem/ejb3/strict-max-bean-instance-pool/index.html
| 归档时间: |
|
| 查看次数: |
4029 次 |
| 最近记录: |