Author |
Message
|
BrianMc |
Posted: Thu Jan 16, 2003 2:00 am Post subject: MaxChannels been reached but...... |
|
|
 Apprentice
Joined: 01 Oct 2002 Posts: 33 Location: Ireland
|
I am getting the following error message in my logs
AMQ9513 Maximum number of channels reached
I have upped the MaxChannels to 300 and bounced the QMgr. I also have a job that runs every minute and checks the number of client connections. The highest number of client connections seems to be 96.
Does this error message appear for other reasons?
What error appears if the MaxHandles is reached?
Thanks,
Brian. |
|
Back to top |
|
 |
vmcgloin |
Posted: Thu Jan 16, 2003 4:22 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
Are you counting all the channels other than client connections? SYSTEM.ADMIN.SVRCONN for MQExplorer instances, and regular SDR/RCVR channels too? If your limit was 100 before with 96 client connections then you could easily reach it.
On a related note do you know if there is a maximum value for MAXCHANNELS? We had to up it to 450 on one of our qmgrs yesterday and even that may not be enough. What do sites with thousands of web clients do?
(I don't know what the AMQ* message would be if any but there is a reason code for max handles - MQRC_HANDLE_NOT_AVAILABLE .)
Cheers,
Vicky |
|
Back to top |
|
 |
mrlinux |
Posted: Thu Jan 16, 2003 4:44 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
There is another setting also called max active channels which is set to
100 also.
From MQ Manual
Use the Channels queue manager properties page, or the CHANNELS stanza in the qm.ini file, to specify information about channels.
MaxChannels=100|number
The maximum number of channels allowed. The default is 100.
MaxActiveChannels=MaxChannels_value
The maximum number of channels allowed to be active at any time. The default is the value specified on the MaxChannels attribute. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
BrianMc |
Posted: Thu Jan 16, 2003 6:41 am Post subject: |
|
|
 Apprentice
Joined: 01 Oct 2002 Posts: 33 Location: Ireland
|
I have upped the MaxChannels to 9999 but before this I had set it to 300 and was still getting the AMQ9513 error.
9999 is the max for OS390 but I couldn't find any max figure for my HP box. |
|
Back to top |
|
 |
sknrt1 |
Posted: Wed Jan 22, 2003 7:34 am Post subject: To handle max no of web clients to avoid reaching max channe |
|
|
Apprentice
Joined: 22 Jan 2003 Posts: 39 Location: USA
|
Hi,
The Queue Manager can be configured to have
MAXChannels
MAXActiveChannels
Once the no of channels reach the MaxActiveChannels, the client applications will fail and there r chances of Queue manager down.
For this it needs to avoid the use of SVR_CONN Channels in case of webclients (becoz the no of web clients may grow..) or any application which runs multiple threads.
Its better to go for MQJMS programming than MQJAVA.
Advantages with MQJMS:
1.No need to have MQClient software available.
2.It doesn't use SVR_CONN channels, like MQJAVA.
use JMS client bindings and u can connect to any remote queue manager without channels.
thanks
 |
|
Back to top |
|
 |
|