7 Replies Latest reply on Jul 15, 2015 12:59 PM by tn23d2044

    Number of live Timer threads keep increasing after a while

    tn23d2044

      Currently working on porting our rule engine application that process millions of data per hour to WildFly from JBoss 4.2.3. It uses ExecutorService for concurrent processing and doesn't create thread.

       

      The application runs without an issue for 40-50 mins and then live timer threads keeping increasing. The JVM memory keeps increasing and then after some time OOM exception.

       

      Please see the attached screen shot from visualJVM.

       

      Configuration from standalone.xml

       

                      <managed-executor-services>

                          <managed-executor-service name="default" jndi-name="java:jboss/ee/concurrency/executor/default" context-service="default" hung-task-threshold="60000" core-threads="5" max-threads="25" keepalive-time="5000"/>

                      </managed-executor-services>

       

      Is there any other configuration i can use to keep the live threads to minimum?

       

      Thanks

      Live threads.pngLive Timer Threads.png