【问题标题】:Default slsb-strict-max-pool size in Wildfly 10Wildfly 10 中的默认 slsb-strict-max-pool 大小
【发布时间】:2018-02-01 23:52:21
【问题描述】:

在 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.

但是当我在下面执行 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)

Wildfly 10 中 ejb 的默认最大池大小到底是多少??

【问题讨论】:

    标签: ejb wildfly ejb-3.0 wildfly-10


    【解决方案1】:

    默认情况下,池大小是动态的,因为它源自工作线程池大小(“derive-size”属性)。因此,在您的情况下,您有 4 个 CPU 内核并获得 64 个池大小。 在这种情况下,max-pool-size 值被忽略,因此 wildfly 接口所说的是正确的运行时值。

    https://wildscribe.github.io/WildFly/10.1/subsystem/ejb3/strict-max-bean-instance-pool/index.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-01-18
      • 1970-01-01
      • 2016-12-26
      • 1970-01-01
      • 2016-05-18
      • 1970-01-01
      相关资源
      最近更新 更多