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 » Run out of client channels

Post new topic  Reply to topic
 Run out of client channels « View previous topic :: View next topic » 
Author Message
vladimir_Sanchez
PostPosted: Wed Dec 22, 2004 5:36 am    Post subject: Run out of client channels Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Wed Dec 22, 2004 6:01 am    Post subject: Reply with quote

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
View user's profile Send private message
csmith28
PostPosted: Wed Dec 22, 2004 6:06 am    Post subject: Reply with quote

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
View user's profile Send private message
clindsey
PostPosted: Wed Dec 22, 2004 6:16 am    Post subject: Reply with quote

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
View user's profile Send private message
csmith28
PostPosted: Wed Dec 22, 2004 6:57 am    Post subject: Reply with quote

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
View user's profile Send private message
JustJohn
PostPosted: Wed Dec 22, 2004 9:30 am    Post subject: Reply with quote

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
View user's profile Send private message
vladimir_Sanchez
PostPosted: Wed Dec 22, 2004 10:58 am    Post subject: Reply with quote

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
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 » Run out of client 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.