|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
SVRCONN channle can't auto remove the no-active connections |
« View previous topic :: View next topic » |
Author |
Message
|
Big5566 |
Posted: Thu Jan 19, 2006 12:31 am Post subject: SVRCONN channle can't auto remove the no-active connections |
|
|
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 |
|
 |
Mr Butcher |
Posted: Thu Jan 19, 2006 1:29 am Post subject: |
|
|
 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 |
|
 |
Tibor |
Posted: Thu Jan 19, 2006 5:51 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Jan 19, 2006 11:26 am Post subject: |
|
|
 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 |
|
 |
mvic |
Posted: Thu Jan 19, 2006 11:49 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|