When load increases then stateless session beans count increases but later stateless beans are not removed from slsb-strict-max-pool when all are idle. Is there any setting to remove idle stateless bean ? Same issue in wildly 21 also. See below, pool-remove-count is always 0. standalone.xml .......... <subsystem xmlns="urn:jboss:domain:ejb3:5.0"> <session-bean> <stateless> <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/> </stateless> <stateful default-access-timeout="60000" cache-ref="distributable" passivation-disabled-cache-ref="simple"/> <singleton default-access-timeout="5000"/> </session-bean> <mdb> <resource-adapter-ref resource-adapter-name="${ejb.resource-adapter-name:activemq-ra.rar}"/> <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/> </mdb> <pools> <bean-instance-pools> <strict-max-pool name="slsb-strict-max-pool" max-pool-size="150" instance-acquisition-timeout="2" instance-acquisition-timeout-unit="MINUTES"/> <strict-max-pool name="mdb-strict-max-pool" max-pool-size="100" instance-acquisition-timeout="2" instance-acquisition-timeout-unit="MINUTES"/> </bean-instance-pools> </pools> ................... sudo /opt/wildfly-13.0.0.Final/bin/jboss-cli.sh -c command="/deployment=Test-EAR.ear/subdeployment=Test.jar/subsystem=ejb3/stateless-session-bean=TestBean:read-resource(include-runtime=true)" { "outcome" => "success", "result" => { "component-class-name" => "TestBean", "declared-roles" => [], "execution-time" => 237948636L, "invocations" => 67748L, "methods" => {"performRequest" => { "execution-time" => 237948636L, "invocations" => 67748L, "wait-time" => 4403L }}, "peak-concurrent-invocations" => 150L, "pool-available-count" => 150, "pool-create-count" => 150, "pool-current-size" => 150, "pool-max-size" => 150, "pool-name" => "slsb-strict-max-pool", "pool-remove-count" => 0, "run-as-role" => undefined, "security-domain" => "other", "timers" => [], "wait-time" => 4403L, "service" => undefined } } Please help. Thanks. Continue reading...