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

Mark Payne reassigned NIFI-5464:
--------------------------------

    Assignee: Mark Payne

> Local Ports are able to be started without incoming connections, then use a 
> lot of CPU
> --------------------------------------------------------------------------------------
>
>                 Key: NIFI-5464
>                 URL: https://issues.apache.org/jira/browse/NIFI-5464
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, validation of a LocalPort simply checks that it has an outgoing 
> connection. This means that it's possible to create an outgoing connection 
> for a port but not have any incoming connections. When this happens, if the 
> Port is started, the framework determines that it is a "source component" 
> because it has no incoming connections. As such, it is never yielded via the 
> "bored yield duration". This results in high CPU usage.
> The fix in this case, I believe, is to address the validation. We should not 
> allow a Local Port to be enabled if it has no incoming connections.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to