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

HandleHttpRequest can use too many tasks and CPU

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.7.0
    • 1.2.0
    • Extensions
    • None

    Description

      With the default settings of HandleHttpRequest, user reports 100% CPU usage and millions of scheduled tasks. When this processor doesn't have work to do, its onTrigger() should call ProcessContext.yield(). This is how the ListenHTTP processor works, so it's an established pattern.

      Attachments

        1. flow.xml.gz
          1 kB
          Randy Gelhausen

        Issue Links

          Activity

            People

              markap14 Mark Payne
              mosermw Michael W Moser
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: