You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Christian Danner (Jira)" <ji...@apache.org> on 2020/06/24 13:00:00 UTC

[jira] [Updated] (NIFI-7438) Controller Service UI hangs since controller service doesn't handle reconnections properly

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

Christian Danner updated NIFI-7438:
-----------------------------------
    Attachment: nifi-grafana-dashboard-controller-service-stress.png

> Controller Service UI hangs since controller service doesn't handle reconnections properly
> ------------------------------------------------------------------------------------------
>
>                 Key: NIFI-7438
>                 URL: https://issues.apache.org/jira/browse/NIFI-7438
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Configuration, Core Framework
>    Affects Versions: 1.11.1, 1.11.2, 1.11.3, 1.11.4
>         Environment: RHEL 7.6
> NiFi on Docker
>            Reporter: Christian Danner
>            Priority: Major
>         Attachments: image-2020-05-11-13-38-30-457.png, nifi-grafana-dashboard-controller-service-stress.png
>
>
> We encounter Problems in showing and managing Controller Services on NiFi Servers that run longer than connected systems we use to connect via Controller Services. Viewing such Controller Services takes about 1 minute to open the view and then shows multiple instances of it (see screenshot).
> e.g. A "DBCPConnectionPool 1.11.4" shows multiple "Supported Controller Services" all the "DBCPService 1.11.4 from org.apache.nifi - nifi-standard-services-api-nar" (19 occurances) as well as shows multiple Groups of "Processors" {color:#172b4d}(19 occurances){color} with the same instances (9 processor instances).
>  
> In this specific case we have a connection to a database server that is shutdown during the night (DEV environment). NiFi Server continues to run while database is not reachable.
>  We suspect that when the database comes available again, it will load the controller service completely while not unloading old sessions. Disabling and re-enabling the controller service doesn't solve the issue, only a complete NiFI Server restart fixes this issue.
> All related processors also fail to execute defined "ExecuteSQL" Processors until we restarted the Controller Services at least. We get a "SocketException" since it tries to make an attempt on the old connection which is not active anymore. For us it is important to have a "Infinite Connection" while interacting with the database ({color:#262626}Max Connection Lifetime{color:#003000} = -1).{color}{color}



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