Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-2626

LIstenHTTP leaks threads when address is already in use

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0, 0.7.1
    • Core Framework
    • None

    Description

      While testing the current 1.0.0 master branch for release, I ran into a thread leak issue with ListenHTTP. Though not the fault of ListenHTTP explicitly, threads are being leaked by Jetty after attempting to bind to an address that is already in use. Jetty starts a thread when server.start() is called, but does not clean up after itself if the start() method throws an exception. Over time, these threads pile up and eventually the JVM will run out of memory.

      Attachments

        Issue Links

          Activity

            People

              jtstorck Jeff Storck
              jtstorck Jeff Storck
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: