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 » General IBM MQ Support » SVRCONN channle can't auto remove the no-active connections

Post new topic  Reply to topic
 SVRCONN channle can't auto remove the no-active connections « View previous topic :: View next topic » 
Author Message
Big5566
PostPosted: Thu Jan 19, 2006 12:31 am    Post subject: SVRCONN channle can't auto remove the no-active connections Reply with quote

Newbie

Joined: 19 Jan 2006
Posts: 1

Hello,

I have a question about the SVRCONN.

I difine a SVRCONN channle named "JAVA.CHANNEL" in QMA of machine A,

then In the machine B, the application using JAVA Base API connect to the QM1 by JAVA.CHANNEL. I can see the connections from machine B by runmqsc DIS CHSTATUS(JAVA.CHANNEL)

then, I disable the network of machine B, so, in fact, all of the connections from machine B to QM1 are broken

But when I runmqsc DIS CHSTATUS(JAVA.CHANNEL) at QM1, I see the connections are still exist.

after 30 minutes, after 1 Hour , and after 2 days , I run DIS CHSTATUS time after time, but the connections still EXIST !!!

why QM can't auto remove the connections when it idle over max time ?
Back to top
View user's profile Send private message Send e-mail
Mr Butcher
PostPosted: Thu Jan 19, 2006 1:29 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

because it is not a feature of svrconn channels to disconnect after a specific idle time (like server or sender channels).
it is a matter of the network to tell mq to end these connections.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
Tibor
PostPosted: Thu Jan 19, 2006 5:51 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

Try the setting of ClientIdle parameter, details here: http://www-1.ibm.com/support/docview.wss?uid=swg21194427

Tibor
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Jan 19, 2006 11:26 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

The better solution is to use KeepAlive.

The ClientIdle Paramter will kill active connections and orphaned connections alike. KeepAlive wil only clean up orphaned connections.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
mvic
PostPosted: Thu Jan 19, 2006 11:49 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

PeterPotkay wrote:
The better solution is to use KeepAlive.


See also detailed discussion in SupportPac MD0C at http://www.ibm.com/support/docview.wss?uid=swg24006699

Quote from that document : "Keepalive is strongly recommended for SVRCONN channels since even if client heartbeats are available, they are only used during and MQGETs."
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 » General IBM MQ Support » SVRCONN channle can't auto remove the no-active connections
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.