6 Replies Latest reply on Nov 15, 2017 1:01 PM by shawkins

    Change async-thread-pool size in Teiid

    cesarkuehl

      Hi there!

       

      I'm running Teiid on a Wildfly domain and I'm seeing the message below on every node startup:

       

      [Server:server-two] 16:46:56,411 WARN  [org.teiid.RUNTIME] (Worker7_async-teiid-threads8) TEIID30009 Reached maximum thread count "10" for worker pool "async-teiid-threads" with a queue size high of "5". Queued work waited 8,000 ms prior to executing. To avoid queuing of work you may consider increasing "max-threads" or decreasing the "max-active-plans" in the "standalone-teiid.xml" file.

       

      No matter what value I define to max-threads at standalone-teiid.xml this message still appears at node startup, what makes me think that in a domain mode, this file is simply ignored.

       

       <async thread-pool-name="default"/>
                  <timer-service thread-pool-name="default" default-data-store="default-file-store">
                      <data-stores>
                          <file-data-store name="default-file-store" path="timer-service-data" relative-to="jboss.server.data.dir"/>
                      </data-stores>
                  </timer-service>
                  <remote connector-ref="http-remoting-connector" thread-pool-name="default"/>
                  <thread-pools>
                      <thread-pool name="default">
                          <max-threads count="100"/>
                          <keepalive-time time="100" unit="milliseconds"/>
                      </thread-pool>
                  </thread-pools>
      

       

      What is the correct way to raise this thread pool size in a domain?