|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Max number of channels reached |
« View previous topic :: View next topic » |
Author |
Message
|
bruce2359 |
Posted: Wed Feb 24, 2010 10:03 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9471 Location: US: west coast, almost. Otherwise, enroute.
|
Is SYSTEM.DEF.SVRCONN the only channel you have defined, and are using? Any other channels?
What do you get when you do a DIS CHS(*) command? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
morrisea |
Posted: Wed Feb 24, 2010 10:28 pm Post subject: Max channels reached |
|
|
 Novice
Joined: 09 Apr 2006 Posts: 21 Location: South Africa
|
Hi,
My apologies for a little misunderstanding. It isn't SYSTEM.DEF.SVRCONN, although on other machines this is used. In this case it is a specific svrconn channel called OFFLINE.SVRCONN.CHAN. Anyway, to answer the question, using either MQ Explorer, MO71 or command line DIS CHS(*) this is the one showing the most connections. There are other normal sndr/rcvr pairs (about 4) - also a couple of other SVRCONN channels. However, using MO71 (MQMON) Display Channel Status (*) which shows all connections the result was 600 connections in total. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu Feb 25, 2010 12:43 am Post subject: Re: Max channels reached |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
morrisea wrote: |
Hi,
My apologies for a little misunderstanding. It isn't SYSTEM.DEF.SVRCONN, although on other machines this is used. In this case it is a specific svrconn channel called OFFLINE.SVRCONN.CHAN. Anyway, to answer the question, using either MQ Explorer, MO71 or command line DIS CHS(*) this is the one showing the most connections. There are other normal sndr/rcvr pairs (about 4) - also a couple of other SVRCONN channels. However, using MO71 (MQMON) Display Channel Status (*) which shows all connections the result was 600 connections in total. |
also you could have tried hitting this...
echo 'dis chs(ChlName) all' |runmqsc <QmgrName> | grep 8417 | wc -l
this will list the count of no. of connection instances on that channel.
I have given the comment on your last question...on my first post.. pls check.
 _________________ *Life will beat you down, you need to decide to fight back or leave it.
Last edited by shashivarungupta on Thu Feb 25, 2010 8:18 am; edited 1 time in total |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Feb 25, 2010 5:53 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
95% of the time when you see way too many svrconn/clntconn instances it is because the application is doing the wrong thing with connections - like failing to close them, or opening a new one for each put or get. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Thu Feb 25, 2010 6:11 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
mqjeff wrote: |
95% of the time when you see way too many svrconn/clntconn instances it is because the application is doing the wrong thing with connections - like failing to close them, or opening a new one for each put or get. |
Am 100% agree with you !
I said the same in my first post (last point) as the answer of the question from the original poster. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Thu Feb 25, 2010 8:07 am Post subject: Re: Max connections exceeded |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
morrisea wrote: |
none of the comments adress the matter that "when we check the status of 'SYSTEM.DEF.SVRCONN' we see 600 connections" yet the settings are set to 3000 (MaxChannels), and we are getting max.channel connections reached at 600. |
The MaxActiveChannels and MaxChannels parameters in the qm.ini file refer to ALL channels of a queue manager (i.e Server Connection, Sender, Receiver, Server, Requestor, Cluster-Sender and Cluster-Receiver ). Hence, you must total up all of the channels of the queue manger to see if you reached the max channels.
Secondly, updating the values of the MaxActiveChannels and MaxChannels parameters in the qm.ini file requires a restart of the queue manager for the values to be used by MQ. Therefore, have you restarted the queue manager since updating those values?
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
pfarrel |
Posted: Fri Feb 26, 2010 6:36 am Post subject: |
|
|
Centurion
Joined: 16 Mar 2004 Posts: 120 Location: Kansas City
|
Another possible solution is to use the ClientIdle parameter. You can set this in the qm.ini file. It specifies a number of seconds. If a channel remains unused for that number of seconds, it will be closed by the queue manager.
Here is an example from a qm.ini file:
CHANNELS:
MaxChannels=200
MaxActiveChannels=200
ClientIdle=43200
AdoptNewMCA=ALL
In this case, since 43200 seconds is 12 hours, if any channel is not used for 12 hours, it will be closed. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|