Posted: Mon Feb 13, 2017 9:05 pm Post subject: closing connection to TCP server from flow
Centurion
Joined: 18 Aug 2013 Posts: 126
We have a msg flow which has TCP client Input & TCP client output nodes to exchange data ( heartbeats , data , Acks ) very frequently .. every 4 secs msgs (Heartbeat msgs ) are to be exchanged . If msgs aren't recieved from server , then flow need to close the connection & reconnect back.
currently the flow closes the connection by connecting the close terminal of the TCP client Output node and this seems to close the connection most of the times .
But at times , the attempt made to close connection wont be successfull and the connection gets hung .
sometimes we have seen the connection going in close_wait state .
the connection remains in hung state untill the flow is restarted manually.
why does this happen ? how can we resolve this ?
at what circumstances we see the connection getting hung ?
can we force kill the connection by any means ?
setting any parameter on OS level can help us ?
here are the parameters set on configurable service .
SO_RCVBUF = 1024 KB ,
SO_SNDBUF = 1024 KB,
TCP_NODELAY = TRUE
CloseWithUnprocessedData = TRUE .
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum