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 » QMGR connection count keeps increasing

Post new topic  Reply to topic
 QMGR connection count keeps increasing « View previous topic :: View next topic » 
Author Message
guest468
PostPosted: Fri Jul 25, 2008 8:56 am    Post subject: QMGR connection count keeps increasing Reply with quote

Centurion

Joined: 30 May 2006
Posts: 146
Location: NY

Hi,
One of our applications which is running under WAS6 and using it's own QMGR (QMGR is in different box). And once all JVMs are restarted, I see the channel connection count increasing from the application at the rate of 1 per couple of minutes (at least 500/day). It increases till 1500(that is what is set as max as of now) and then remains the same. We have not heard application team complaining anything going wrong in their side. But I know this is a dangerous situation given that this QMGR connects to Mainframe and if I stop that channel for any reason then it won't restart throwing max channel connection reached error.

They are using only 50 queues and there can be only one connection to each queue at any given time. So I am assuming this is an application code issue which apparently is not releasing the connection and instead making a new connection every time. But wondering if QMGR can detect the zombie connections and release them from the pool?

Thanks
Back to top
View user's profile Send private message
sami.stormrage
PostPosted: Fri Jul 25, 2008 9:01 am    Post subject: Reply with quote

Disciple

Joined: 25 Jun 2008
Posts: 186
Location: Bangalore/Singapore

Quote:
But wondering if QMGR can detect the zombie connections and release them from the pool?


Nope Qmgr cannot.. its the applications responsibility to disconnect properly..
_________________
*forgetting everything *
Back to top
View user's profile Send private message Yahoo Messenger
PeterPotkay
PostPosted: Fri Jul 25, 2008 9:29 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Search this site for ClientIdle and/or TCP Keep Alive.

Keep Alive will help with truly orphaned connections.

ClientIdle will kill valid connections that happen to not be doing anything, i.e. it wreaks havoc with connection pools. Usually not a good thing to use.

And fix the client side code so they don't take so many connections. Tune your pool. If not using pools, make sure the app disconnects when its done. AND when it errors, not just on clean ends.
_________________
Peter Potkay
Keep Calm and MQ On
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 » QMGR connection count keeps increasing
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.