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

Make configurable maximum number of concurrent requests

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: Core Framework
    • Labels:

      Description

      At the moment, the maximum number of concurrent requests is hard coded in ThreadPoolRequestReplicator

      https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/coordination/http/replication/ThreadPoolRequestReplicator.java

      The value is equal to 100.

      In some situations where multiple factors are combined (large cluster, S2S to load balance data in the cluster, multiple users accessing the UI), the limit can be reached and the UI may become intermittently unavailable with the message: "There are too many outstanding HTTP requests with a total 100 outstanding requests".

      This value should be configurable in nifi.properties allowing users to increase the value.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pvillard Pierre Villard
                Reporter:
                pvillard Pierre Villard
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: