|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Increasing Channels |
« View previous topic :: View next topic » |
Author |
Message
|
dlamont |
Posted: Tue Dec 20, 2005 6:41 am Post subject: Increasing Channels |
|
|
 Newbie
Joined: 15 Sep 2005 Posts: 7 Location: St. Charles, MO
|
Good Morning,
The other day, I started seeing errors in one of my queue manager's log files:
AMQ9999: Channel program ended abnormally
AMQ9513: Maximum number of channels reached
I added the following entries to my qm.ini file:
Channels:
MaxChannels=300
MaxActiveChannels=300
After bouncing, I no longer see the errors. My question is, should I add the following entries as well?
KeepAlive=YES
Or is YES the default state of this value? Also, would there be any value adding the following:
ListenerBacklog=300
I run TCP/IP runmqlsr listeners for each QM. Thanks in advance for your thoughts. _________________ - Dave Lamont |
|
Back to top |
|
 |
sandiksk |
Posted: Tue Dec 20, 2005 11:06 am Post subject: |
|
|
Centurion
Joined: 08 Jun 2005 Posts: 133
|
Well if you want your channels to check periodically whether the other end of the channel is alive or not , you need to include that
KeepAlive=yes
As far as i think, it only enabled if you include it in the qm.ini file
Quote: |
ListenerBacklog=300 |
This would just increse the outstanding requests for the tcp/ip listner
I hope i answered your question |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Dec 20, 2005 1:16 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Dave,
Turning the MQ switch on for Keep Alive means the QM will use the system's Keep Alive value, which if turned on is usually 2 hours. Not very useful. We had all our Sys Admins change it to 15 minutes. The way to test this is have a client PC connect to your QM. Notice the running SVRCON channel. Than yank the network cable from the back of the PC. The SVRCONN channel will stay running, until KeepAlive minutes passes by. Then the channel goes away, and an entry is recorded in the AMQERR01.log for the QM. Without KeepAlive, you have orphaned SVRCONN channels sucking up resources.
ListenerBackLog defaults to 100. It only deals with concurrent connection attempts. So unless you think you will have more than 100 incoming channels all trying to start at the same time, the default is fine. We have MaxActiveChannels set to 2500, and ListenerBackLog still at 100 with no problems.
Research AdoptNewMCA and Heartbeats as well. Those 2 parameters are huge towards problem free channels in MQ. Do a search for them with PeterPotkay as the author. Lots of articles already here..... _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|