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 » Max number of channels reached

Post new topic  Reply to topic Goto page Previous  1, 2
 Max number of channels reached « View previous topic :: View next topic » 
Author Message
bruce2359
PostPosted: Wed Feb 24, 2010 10:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
morrisea
PostPosted: Wed Feb 24, 2010 10:28 pm    Post subject: Max channels reached Reply with quote

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
View user's profile Send private message
shashivarungupta
PostPosted: Thu Feb 25, 2010 12:43 am    Post subject: Re: Max channels reached Reply with quote

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
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Feb 25, 2010 5:53 am    Post subject: Reply with quote

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
View user's profile Send private message
shashivarungupta
PostPosted: Thu Feb 25, 2010 6:11 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
RogerLacroix
PostPosted: Thu Feb 25, 2010 8:07 am    Post subject: Re: Max connections exceeded Reply with quote

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
View user's profile Send private message Visit poster's website
pfarrel
PostPosted: Fri Feb 26, 2010 6:36 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » Max number of channels reached
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.