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 Index » WebSphere Message Broker (ACE) Support » WMB 8.0 - TCPIPServerInput node IDLE Connection issue

Post new topic  Reply to topic
 WMB 8.0 - TCPIPServerInput node IDLE Connection issue « View previous topic :: View next topic » 
Author Message
gabrielj
PostPosted: Thu Nov 19, 2015 1:35 am    Post subject: WMB 8.0 - TCPIPServerInput node IDLE Connection issue Reply with quote

Novice

Joined: 16 Nov 2014
Posts: 23
Location: Muscut,Perth,Sydney,Bangalore,Hydrabad,Coimbatore

Hi All,

WMB version: 8.0.0.4
OS: HP-Ux

We have an issue in one of our flow which contains TCPIPServerInput / TCPIPServerOutput. Recently we observed that ulimit values are getting increase day by day. once the upper limit reached then flow getting hanged. We used LSOF command to check which process opening to many files and we found that so many connections are in IDLE state.

The flow look like below.

TCPIPServerInput -> Compute -> TCPIPServerOutput

TCPIPServerInput configuration.

Timeout waiting for the data: 60 sec
Close Connection : After Timeout
Input Stream modification: Leave unchanged.
Output Stream modification: Leave unchanged

TCPIPServerOutput Configuration

Timeout sending data Record: 10
Close Connection : After Timeout
Input Stream modification: Leave unchanged.
Output Stream modification: Leave unchanged

I have tested following scenario.

1. When Timeout happens, WMB close the connection and which is not shown in the lsof output.

2. if the client terminates the connection then the connection goes in idle state. Our OS has keepAlive time value as 30mins. These connections(IDLE) not cleaned by OS after keepalive time expired.

Some of the lsof output
lsof | grep TCP | grep 6062
DataFlowE 24329 mqsi 111u IPv4 0xe0000001a5f30080 0t0 TCP mwdev1:6062->192.168.149.44:54319 (IDLE)
DataFlowE 24329 mqsi 232u IPv4 0xe0000001cdd50400 0t0 TCP *:6062 (LISTEN)
DataFlowE 24329 mqsi 261u IPv4 0xe0000001ea6f9100 0t0 TCP mwdev1:6062->192.168.149.44:54202 (IDLE)
DataFlowE 24329 mqsi 262u IPv4 0xe0000001a7a63980 0t27 TCP mwdev1:6062->192.168.149.44:54204 (IDLE)
DataFlowE 24329 mqsi 266u IPv4 0xe0000001ea6f9400 0t0 TCP mwdev1:6062->192.168.149.44:54166 (IDLE)

TCPServerInput node running on 6062 port number


Here the question is.

1. How to get rid of these idle connection when client unexpectedly terminate?. Is there any setting we have to do in WMB node level or need to tweak any OS level parameters?


Thanks in advance.
Back to top
View user's profile Send private message
timber
PostPosted: Fri Nov 20, 2015 2:23 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

Quote:
How to get rid of these idle connection when client unexpectedly terminate?
Before answering that, I need to know what research you have done. This is a known problem with TCP/IP connections ( not WMB/IIB ), and there is no point in me telling you things that you already know.
Quote:
Is there any setting we have to do in WMB node level or need to tweak any OS level parameters?
There is no 'setting' ( no single property that you can configure ). You can ask WMB/IIB to drop a specific TCP/IP connection - you have to send a message to the TCPIPClientOutput node with the ConnectionID specified in the LocalEnvironment. That might be one way of closing connections that are known to be 'orphaned' by a badly-behaved client.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WMB 8.0 - TCPIPServerInput node IDLE Connection issue
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.