|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Too many client connections are occupied |
« View previous topic :: View next topic » |
Author |
Message
|
claire |
Posted: Fri Apr 09, 2004 3:41 pm Post subject: Too many client connections are occupied |
|
|
Apprentice
Joined: 10 Apr 2002 Posts: 32
|
In our system, there are often too many client connections occupied by the applications , therefore, no more connections can be established. I am wondering whether it is possible for MQ server to close the client connections which are not used for a specific time period. Thanks for your help. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Sat Apr 10, 2004 6:51 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
If the client connections are not used but valid, that is, there is still a live MQClient application on the other end, there is nothing you can set to automatically dump them.
If the client connections are orphaned, that is the MQServer has the connection open but there is no one home on the other side, what you can do is use KeepAlive. Make sure it is on for the QM, and then maybe lower the value from the default of 2 hours (its a server setting effecting all apps, not just MQ).
KeepAlive will dump those stale connections after KeepAliveTime.
The real problem is the client apps are just ending without closing the queues and issuing the MQDISC call. If they were doing that, the MQServer would know when they are ending and would then clean up the connection.
You could also set Heartbeats on the SVRCONN channel, but that will only help you if the MQClients are doing long MQGET with Waits, as heartbeats only flow during MQGETs for MQClient connections. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
techno |
Posted: Thu Apr 22, 2004 10:40 am Post subject: |
|
|
Chevalier
Joined: 22 Jan 2003 Posts: 429
|
KeepAlive is in qm.ini!(true or fasle) Is there any other place? |
|
Back to top |
|
 |
techno |
Posted: Thu Apr 22, 2004 10:42 am Post subject: |
|
|
Chevalier
Joined: 22 Jan 2003 Posts: 429
|
Got the answer from other post. KeepAliveTime is for whole system! KeepAlive=true/false(to use it or not) |
|
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
|
|
|
|