Sorry
You can configure also this tag
01.<subsystem xmlns="urn:jboss:domain:threads:1.0">
02.<bounded-queue-thread-pool name="http-executor"
03.blocking="true">
04.<core-threads count="10" per-cpu="20" />
05.<queue-length count="10" per-cpu="20" />
06.<max-threads count="10" per-cpu="20" />
07.<keepalive-time time="10" unit="seconds" />
08.</bounded-queue-thread-pool>
09.</subsystem
If you are increasing the thread count too much, you will:
• Consume a good chunk of memory
• Your system will spend too much time-context switching