|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
SVRCONN channel keeps the connection open, with network fail |
« View previous topic :: View next topic » |
Author |
Message
|
rsinha |
Posted: Thu Mar 29, 2007 9:40 am Post subject: SVRCONN channel keeps the connection open, with network fail |
|
|
Apprentice
Joined: 29 Aug 2003 Posts: 42
|
Hi,
We are running MQ server on one linux box aqnd MQ client on another. Our App on Client machine uses JMS to connect to MQ QMGR, using SVRCONN channel. Many times we've noticed that if the network between the two boxes goes down abruptly, the SVRCONN channel doesn't release the connection. The result is that local queues still shows IPPROCS(1), even though from client side there's no connection to MQ QMGR. So, next time when we restart our JMS app it fails to connect to these local queues because Qs are defined with NOSHARE. The main problem is that MQ thinks that the previous client is still connected.
Currently we have to stop and restart the SVRCONN channel, to make IPPROCS(0) and hence resolve the conn problem when our app is restarted.
Any idea why MQ thinks the connection with client is still open, even with network going down? |
|
Back to top |
|
 |
zpat |
Posted: Thu Mar 29, 2007 9:44 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Makes the queues shared then. |
|
Back to top |
|
 |
rsinha |
Posted: Thu Mar 29, 2007 10:50 am Post subject: |
|
|
Apprentice
Joined: 29 Aug 2003 Posts: 42
|
yes, but the question is, why does MQ thinks that the client is still connected, when it isn't?
Thanx |
|
Back to top |
|
 |
dhanaraj |
Posted: Thu Mar 29, 2007 11:19 am Post subject: |
|
|
 Voyager
Joined: 10 Aug 2004 Posts: 92
|
May be cuz If the network goes down in the middle of the unit of work. MQ still open connection handle to the client app
Thanks
dhanaraj |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Mar 29, 2007 3:43 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
rsinha wrote: |
yes, but the question is, why does MQ thinks that the client is still connected, when it isn't? |
Because the network went down before the client could tell the qmgr that it was going away.
How is the qmgr supposed to know to close the connection, if the TCP/IP layer has kept the socket alive, and there merely happens to be no data arriving over it? _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|