How to change the JBoss EAP 7 ServerService Thread Pool size
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 7.3
Issue
- JBoss EAP 7.3 hanging during startup due to large number of deployments and ServerService Thread Pool is maxed out at 1024
Resolution
Setting this system property will start the Server Service Thread Pool to be unbounded:
-Djboss.threads.eqe.disable=true
In JBoss EAP 7.3 Update 9+ / JBoss EAP 7.4 Update 1+ , these system properties can be used to change the core and max thread size for the Server Service Thread Pool:
-Dorg.jboss.as.server-service.core.threads=500
-Dorg.jboss.as.server-service.max.threads=2048
Components
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.