Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3663

WildFly should manage JGroups and Infinispan thread pools by default

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.0.0.Beta1
    • 8.1.0.Final
    • Clustering
    • None

      In our default configuration, both JGroups and Infinispan manage their own thread pools. Unfortunately, both projects do not handle thread pool lifecycle so well. Both projects use ExecutorService.shutdownNow() to end their thread pool lifecycles. This means that a channel or cache can stop, but still leave active threads running (albeit interrupted). We should have services that manage the lifecycle of our thread pools which ensure that all threads have terminated during Service.stop().

      This causes occasional OOMs in the Windows CI testsuite runs, due to too many threads lying around.

            rhn-engineering-rhusar Radoslav Husar
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: