This content has been marked as final.
Show 3 replies
-
1. Re: JBWEB003008:Maximum number of threads (1024) created for connector
jaysensharma Nov 5, 2015 7:11 AM (in response to songjiavc)Which version of JBoss EAP are you using?
Have you created an http executor to set the maxThreads to a little higher value based on your need?
Can you please try with the following example:
Add a custom http-executor to your http connector as following:
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" executor="http-executor" />
And in the threads subsystem create an executor (like : http-executor) add the maxThread as following:
<subsystem xmlns="urn:jboss:domain:threads:1.1"> <bounded-queue-thread-pool name="http-executor" allow-core-timeout="true"> . . <max-threads count="2001"/> <!-- you wanted 2000 --> </bounded-queue-thread-pool> </subsystem>
-
2. Re: JBWEB003008:Maximum number of threads (1024) created for connector
jaysensharma Nov 5, 2015 7:22 AM (in response to songjiavc)following document describes about the various types of thread pool executors.
Define Thread Pools for HTTP Connector
-
3. Re: JBWEB003008:Maximum number of threads (1024) created for connector
songjiavc Nov 6, 2015 8:51 PM (in response to jaysensharma)Thank you very much!@jay