ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker Supportclosing connection to TCP server from flow

Post new topicReply to topic
closing connection to TCP server from flow View previous topic :: View next topic
Author Message
vickas
PostPosted: Mon Feb 13, 2017 9:05 pm Post subject: closing connection to TCP server from flow Reply with quote

Voyager

Joined: 18 Aug 2013
Posts: 89

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 .

on IIB v9.0.0.2 and WMQ 7.5
Back to top
View user's profile Send private message
mindspace
PostPosted: Thu Mar 09, 2017 12:25 pm Post subject: Reply with quote

Novice

Joined: 22 Jan 2013
Posts: 14

Hi Vickas

I am having similar issues as you are facing with TCP nodes, can you look at my post
http://www.mqseries.net/phpBB2/viewtopic.php?t=73702
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker Supportclosing connection to TCP server from flow
Jump to:



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
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.