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 » IBM MQ Java / JMS » Too many client connections are occupied

Post new topic  Reply to topic
 Too many client connections are occupied « View previous topic :: View next topic » 
Author Message
claire
PostPosted: Fri Apr 09, 2004 3:41 pm    Post subject: Too many client connections are occupied Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Sat Apr 10, 2004 6:51 am    Post subject: Reply with quote

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
View user's profile Send private message
techno
PostPosted: Thu Apr 22, 2004 10:40 am    Post subject: Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

KeepAlive is in qm.ini!(true or fasle) Is there any other place?
Back to top
View user's profile Send private message
techno
PostPosted: Thu Apr 22, 2004 10:42 am    Post subject: Reply with quote

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
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 » IBM MQ Java / JMS » Too many client connections are occupied
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.