Posted: Fri Jul 25, 2008 8:56 am Post subject: QMGR connection count keeps increasing
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?
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
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