JBoss Community

Re: Increase the "Maximum number of threads created"

created by erasmo2 marciano2 in Performance Tuning - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in Performance Tuning at Community