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 » Max Channels Setting

Post new topic  Reply to topic
 Max Channels Setting « View previous topic :: View next topic » 
Author Message
anderc1
PostPosted: Tue May 06, 2008 8:08 am    Post subject: Max Channels Setting Reply with quote

Acolyte

Joined: 11 Sep 2002
Posts: 55
Location: Research Triangle Park, NC

Happened to look at the MQv6 Info Center for MaxChannels parameter and saw the following.

The Channels stanza contains information about the channels.

MaxChannels=100|number
You can still use this stanza, but it is now ignored. Your system resources are the only constraint on the number of channels you can define.


What the heck does this mean? "You can still use this stanza, but it is now ignored." My understanding until this point was there is a tcp/ip limit of 100 connections per port, which I assumed is why MQ defaulted to 100. So now I can have 1 listener on 1 port and have a thousand channels connected to it as long as system resources permit? Just below that tidbit is the MaxActiveChannels parameter which says, "The default is the value specified on the MaxChannels attribute." Well, if the MaxChannels is ignored, how the heck does the MaxActiveChannels figure it out? Someone clarify this please!!
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue May 06, 2008 9:06 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

MaxChannels is how many channels you can define.

MaxActiveChannels is how many total instances can run.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
anderc1
PostPosted: Tue May 06, 2008 9:44 am    Post subject: Reply with quote

Acolyte

Joined: 11 Sep 2002
Posts: 55
Location: Research Triangle Park, NC

Thanks Peter,
Is this relative to a CSD release? I know there were some .ini attributes that went away in v6 that weren't documented, that is they were ignored and IBM didn't mention it until someone raised a PMR on it.

So I do not need the MaxChannels attribute in the qm.ini, but if I want to control the number of channels, (per Qmgr), I would set MaxActiveChannels?

A single port can now support unlimited connections/channels?

Hate to seem thick between the ears, but it irks the life out of me when something in MQ changes and we don't get an OBTW from IBM, rather we have to stumble across it.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue May 06, 2008 10:21 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

The number of channels a port can handle is not related to any setting in MQ.

It seems the manual says that regardless of MaxChannels, you can define as many channels as you want. That's easy enough for you to test.

Set MaxActiveChannels to a number you want. Just like you shouldn't rely on the default behaviour of the SYNCPOINT options in your MQ apps don't rely on defaults here. Explicitly code the MaxActiveChannels parm and be done with. Its a one time one line entry when you create your QM.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue May 06, 2008 2:09 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

PeterPotkay wrote:
The number of channels a port can handle is not related to any setting in MQ.

It seems the manual says that regardless of MaxChannels, you can define as many channels as you want. That's easy enough for you to test.

Set MaxActiveChannels to a number you want. Just like you shouldn't rely on the default behaviour of the SYNCPOINT options in your MQ apps don't rely on defaults here. Explicitly code the MaxActiveChannels parm and be done with. Its a one time one line entry when you create your QM.


However I still believe (didn't test it though) that MaxActiveChannels defaults to the lesser of MaxActiveChannels and MaxChannels....


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Max Channels Setting
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.