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 Installation/Configuration Support » Channel Count

Post new topic  Reply to topic
 Channel Count « View previous topic :: View next topic » 
Author Message
vigsai
PostPosted: Sun Feb 17, 2008 7:18 pm    Post subject: Channel Count Reply with quote

Newbie

Joined: 31 Dec 2007
Posts: 4

Hi,

I have a question regarding the max channels count and max active channels count that we specify in the qm.in file. I saw that the default is 100 if a value is not specified.
I've seen MQ error 2009 with this '100' prompting admins to change this to more than 100. I've also seen suggestions in this forum for a prod manager to be set to 1000.
I don't understand why the value would go > 100? I just changed this setting to 300 in one of queue managers because of a 2009 error. I fail to understand why this count goes past 100 as my Queue manager is in a Cluster and has less than 10 channels within it and does the other QM's that communicate to my QM.
Can somebody help me understand this? I did go through Mq manuals and still can't find an answer.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Feb 18, 2008 1:27 am    Post subject: Re: Channel Count Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

vigsai wrote:
I just changed this setting to 300 in one of queue managers because of a 2009 error. I fail to understand why this count goes past 100 as my Queue manager is in a Cluster and has less than 10 channels within it


2009 is a client connection error, not a queue manager to queue manager connection error. If you have a single SVRCONN channel for clients to connect to a queue manager, each client connection will be over a new channel instance to keep the data separate. Hence a handful of cluster channels, an SVRCONN channel and 100 connected clients equals a little over 100 channels and a 2009 error.

Note I said connected clients. If a client application connects, does it's stuff and then ends without disconnecting, there's still a connection at the queue manager end. Hence badly behaved applications can cause connection count to rise even though there are very few clients actually attached.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Feb 18, 2008 3:55 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There's a difference between the number of DEFINED channels and the number of ACTIVE channels.

It's easy, for example with SVRCONNs, to have one definition create many active instances.

The same with Cluster channels. Remeber that clusters tend to form fully connected networks. So you could have one definition of the cluster receiver on your qmgr, but if it's receiving data from 100 different qmgrs, there are 100 different instances.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vigsai
PostPosted: Mon Feb 18, 2008 8:59 am    Post subject: Max channel count Reply with quote

Newbie

Joined: 31 Dec 2007
Posts: 4

Great.. Thanks for the prompt response.

In our case, it was a batch job that runs in two different Queue managers that caused the problem. There were only 9 QM's in that cluster.

With reference to the Client connections, I will definitely check if the applications have code to disconnect/close connection to the QM's.

If a client connects & disconnects to a QM 5 times. Will the channel count (from that client alone) be 5 after the successful 5th disconnect or will it be 0?

In addition, how can I check the number of channel connections to a particular qm? Our QM is on AIX.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Feb 18, 2008 10:11 am    Post subject: Re: Max channel count Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

vigsai wrote:
If a client connects & disconnects to a QM 5 times. Will the channel count (from that client alone) be 5 after the successful 5th disconnect or will it be 0?

0

vigsai wrote:
In addition, how can I check the number of channel connections to a particular qm? Our QM is on AIX.

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzaj.doc/sc11830_.htm

If you don't have it already get the free MO71 Support Pack for MQ Administration. One of the million things it does is count the # of channel instances you have when you do a Channel Status List for a QM.
_________________
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 » IBM MQ Installation/Configuration Support » Channel Count
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.