The default slsb-strict-max-pool size in Wildfly 10

When starting the wildfly 10 server, we get slsb-strict-max-pool as 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.

But when I execute below for jboss-cli, then **max pool size is 20**as shown in the image below

/host=master/server=server-one/subsystem=ejb3/strict-max-bean-instance-pool=slsb-strict-max-pool/:read-resource(recursive=false)

enter image description here

Exactly what is the default maximum ejb pool size in Wildfly 10 ??

+4
source share
1 answer

The default pool size is dynamic, because it is derived from the size of the workflow pool of the workflow (the property "display size"). Thus, in your case you have 4 processor cores and a pool size of 64. The max-pool-size value is ignored in this case, therefore, what the wildfly interface says is the correct runtime value.

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

0

Source: https://habr.com/ru/post/1684353/


All Articles