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

Decrease the initial resource reservation of Listen processor family

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.13.0
    • Extensions
    • None

    Description

      ListenTCP processor and other processors in the listen family are reserve resources at initialisation based on properties on the processor. This includes:

      • Executor in SocketChannelDispatcher is created using fixed thread pool
      • Byte buffer pool is build up based on Max Number of TCP Connections which with high connection can consume high amount of memory

      In some use cases this is undesirable and might even cause failure of the initialisation. In order to avoid this I suggest to remove the buffer pool and replace the fixed thread pool into a more flexible (scaling) implementation.

      Attachments

        Issue Links

          Activity

            People

              simonbence Simon Bence
              simonbence Simon Bence
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 1h 20m
                  1h 20m