Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14137

Thread leak in camel-jetty component if maxThreads or minThreads property is set

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 2.25.0
    • Component/s: camel-jetty
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      If a jetty component is configured as a bean with default thread pool settings, the thread pool get closed along with context.

      If maxThreads,minThreads or both component properties are set, a new QueuedThreadPool is instantiated in JettyHttpComponent class  that  not get closed when the context is stopping.

       
       Attached a reproducer.

       

      camel-jetty-Tleak-reproducer.zip

        Attachments

        1. camel-jetty-Tleak-reproducer.zip
          6 kB
          Luigi De Masi

          Activity

            People

            • Assignee:
              acosentino Andrea Cosentino
              Reporter:
              ldemasi Luigi De Masi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m