Author |
Message
|
SAFraser |
Posted: Thu Nov 15, 2007 9:10 am Post subject: Maximum Channels |
|
|
 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 |
|
 |
bruce2359 |
Posted: Thu Nov 15, 2007 9:46 am Post subject: |
|
|
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 |
Posted: Thu Nov 15, 2007 10:36 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
|
Back to top |
|
 |
SAFraser |
Posted: Thu Nov 15, 2007 11:02 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Thu Nov 15, 2007 11:04 am Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Thu Nov 15, 2007 12:03 pm Post subject: |
|
|
 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 |
|
 |
SAFraser |
Posted: Thu Nov 15, 2007 12:47 pm Post subject: |
|
|
 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 |
|
 |
PeterPotkay |
Posted: Thu Nov 15, 2007 12:58 pm Post subject: |
|
|
 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 |
|
 |
|