Created 03-23-2017 09:18 AM
Hi,
I am using nifi 0.6.0 version and using in-built ListenTCP processor to get the data on TCP port remotely. This processor has property "Max Number of TCP Connections" with default value 2. I am using default value only. When internally 2 connections has been occupied then it will throw an exception (Rejecting Connections from xx.xx.xx.xx : xxxx, because max connection has been met) when requested for 3rd or new connection.
Is there any possibility that when any connection has been made to transfer data then it will close that connection after completion of task so it will release that connection and will not throw any exception.
Could any one help me how can I resolve this issue ?
Created 03-23-2017 02:13 PM
It is really the client (the sending application/system) that should be closing the connection when it is done writing a certain amount of data, the server (ListenTCP) can't really know when the client is "done".
If the client was closing connections, then you would only exceed the Max TCP Connections if the client was making concurrent connections that exceed this number at one point in time.
Created 03-23-2017 02:13 PM
It is really the client (the sending application/system) that should be closing the connection when it is done writing a certain amount of data, the server (ListenTCP) can't really know when the client is "done".
If the client was closing connections, then you would only exceed the Max TCP Connections if the client was making concurrent connections that exceed this number at one point in time.
Created 03-23-2017 02:19 PM
@Bryan Bende, we're experiencing the same issue this morning, thanks for clarifying.