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 » Maximum Channels

Post new topic  Reply to topic
 Maximum Channels « View previous topic :: View next topic » 
Author Message
SAFraser
PostPosted: Thu Nov 15, 2007 9:10 am    Post subject: Maximum Channels Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

I have been reading posts lately from which I understood that a MaxChannels entry in qm.ini is only enforced on zOS. For other platforms, the entry must be MaxActiveChannels.
Example: http://www.mqseries.net/phpBB2/viewtopic.php?p=193004&sid=18e30af9f2295603161aa3fc8b035f70

I think I am misunderstanding some of the recent posts.

I recently changed a bunch of queue managers' qm.ini files. I removed the MaxChannels entry and put in only a MaxActiveChannels entry (value=300). I just now ran out of channels; connections were refused after we reached 100 channels (the default for MaxChannels).

Confused (and under some pressure from an understandably irritated testing team), I added MaxChannels=300 back into qm.ini and bounced the queue manager.

Here's what I think, from the manuals.
MaxChannels limits the number of entries in the channel status table (so this would include stopped channels).
MaxActiveChannels limits the number of active connections.

Guide me, O Wise Ones.

Shirley
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Nov 15, 2007 9:46 am    Post subject: Reply with quote

Guest




From the Intercommunications manual:

Configuration file stanzas:
CHANNELS:
MAXCHANNELS=n ; Maximum number of channels allowed, the ; default value is 100

MAXACTIVECHANNELS=n ; Maximum number of channels allowed to be active at ; any time, the default is the value of MaxChannels
Back to top
PeterPotkay
PostPosted: Thu Nov 15, 2007 10:36 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

From the Info center when you do a search for MaxChannels:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqwag.doc/amq521u.htm
Code:
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.


But I can't tell what manual this is from.

Then go to the System Admin Guide in the Info center and you find this under Configuring MQ...Changing QM info:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.amqzag.doc/fa12670_.htm

Code:
MaxChannels=100|number
The maximum number of channels allowed. The default is 100.



Great, the 2 contradict each other! But your testing seems to say its still used. You are at MQ 6.0, right?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
SAFraser
PostPosted: Thu Nov 15, 2007 11:02 am    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

Yep, I'm at 6.0.2.2 on Solaris.

Very generous of you to call it "testing". A more accurate description might be "this morning's unfortunate crash of the Stress Testing environment".

When I get a minute, I'm going to try some tests on my sandbox server. Sure, I could open a PMR and just ask, but I'd rather try it out myself.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Nov 15, 2007 11:04 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There's a little button in the Info Center page that will let you sync the view you're seeing on the left with the navigation on the right.

That quote is from the iSeries guide.

There's another quote that says "this parameter is not supported except on zOS". That's apparently referring to a PCF parameter, and not the qm.ini parameter.

It's been my impression from various conversations that MaxChannels was not in use anymore on distributed.

However, empirical evidence always trumps faulty memory.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Nov 15, 2007 12:03 pm    Post subject: Reply with quote

Grand High Poobah

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

If maxchannels is not in use anymore maxactive channels still defaults to 100

Now a change in maxchannels will still allow you by default for the maxactive to reach up to the maxchannels value...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
SAFraser
PostPosted: Thu Nov 15, 2007 12:47 pm    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

My situation today:

qm.ini
CHANNELS:
MaxActiveChannels=300

No MaxChannels value at all.

Queue manager stopped taking connections when the connection count reached 100. MaxActiveChannels was not set to default, it was set to 300.

Now that I have added MaxChannels=300 and restarted, I can push the connection count above 100.

So it seems to me that MaxChannels is still enforced. In fact, MaxActiveChannels appeared to be useless until MaxChannels was set.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Nov 15, 2007 12:58 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

jefflowrey wrote:
There's a little button in the Info Center page that will let you sync the view you're seeing on the left with the navigation on the right.


Thanks Jeff!
_________________
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 » General IBM MQ Support » Maximum Channels
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.