Author |
Message
|
vladimir_Sanchez |
Posted: Wed Dec 22, 2004 5:36 am Post subject: Run out of client channels |
|
|
Newbie
Joined: 21 Dec 2004 Posts: 6 Location: Chile
|
Guys, we have an application that uses client and server Mqseries. Due to a heavy traffic and, probably, some error in the aaplication, after some hours the client starts to report a 2059 error code. When checking server errorlog, it says it run out of client connectivity channels. checking on client it reports 95 or more channels in use.
I red somewhere the default client channel amount by default is 100. Where can I increase this amount in Windows NT?
REgards,
Vladimir |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Dec 22, 2004 6:01 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
I had this same question. I asked IBM, and they would not give a hard answer. There is no formula that says a channel takes this much resources, so if a server has this much CPU / Memory, you can have this many channels.
All I can tell you is that we have ours set to 1500, and if you read the Performance Support pack, some of the tests IBM did had somewhere around 10,000!
Look at the ME71 Support pack for an exit that limits the # of channels at the channel level.
And complain to IBM to make this part of the product. We should be able to set a property on a SVRCONN channel that limits how many instances of that channel can start. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
csmith28 |
Posted: Wed Dec 22, 2004 6:06 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
If your platform is Unix you can increase the number of active channels by adding a MaxActiveChannels stanza in your /var/mqm/qmgrs/MQMGR/qm.ini file.
See the WMQ Administration Guide for details. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
clindsey |
Posted: Wed Dec 22, 2004 6:16 am Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
Quote: |
Where can I increase this amount in Windows NT
|
From Start Programs, Open WebSphere MQ Services. Right click on the queue manager name and select Properties. Then click on the Channels tab and you can set MaxChannels and MaxActiveChannels.
Charlie |
|
Back to top |
|
 |
csmith28 |
Posted: Wed Dec 22, 2004 6:57 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
@clindsey
That's what I get for trying to answer a question before I've had my morning coffee.  _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
JustJohn |
Posted: Wed Dec 22, 2004 9:30 am Post subject: |
|
|
Newbie
Joined: 10 Dec 2004 Posts: 1
|
At the same time, you should take a look at your application.
Increasing the number of channels will only delay a recurrence of the same problem. If you don't release the channels from the client side, you will eventually run out of channels.
Using the QMgr.Disconnect() method in C# (MQDISC in C) should cleanly close the channel. |
|
Back to top |
|
 |
vladimir_Sanchez |
Posted: Wed Dec 22, 2004 10:58 am Post subject: |
|
|
Newbie
Joined: 21 Dec 2004 Posts: 6 Location: Chile
|
We've contacted the software developers, but they have thousand of things to check, so we'll use the Johnson&Johnson approach: just a band aid for a while.
Thanks,
Vladimir |
|
Back to top |
|
 |
|