You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Simon Bence (Jira)" <ji...@apache.org> on 2020/11/26 14:39:00 UTC

[jira] [Updated] (NIFI-8039) Decrease the initial resource reservation of Listen processor family

     [ https://issues.apache.org/jira/browse/NIFI-8039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Bence updated NIFI-8039:
------------------------------
    Status: Patch Available  (was: In Progress)

https://github.com/apache/nifi/pull/4689

> Decrease the initial resource reservation of Listen processor family
> --------------------------------------------------------------------
>
>                 Key: NIFI-8039
>                 URL: https://issues.apache.org/jira/browse/NIFI-8039
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Simon Bence
>            Assignee: Simon Bence
>            Priority: Major
>             Fix For: 1.13.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)