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 » [SOLVED] MAX Channels Reached - Error

Post new topic  Reply to topic
 [SOLVED] MAX Channels Reached - Error « View previous topic :: View next topic » 
Author Message
Andarivadu
PostPosted: Fri May 20, 2005 7:16 am    Post subject: [SOLVED] MAX Channels Reached - Error Reply with quote

Novice

Joined: 18 Apr 2005
Posts: 11

All,

I have defined 25 Channels (SENDER + RECEIVER) in a QMgr (QM1). I have the default values (which is 100) for MAXCHANNELS, MAXACTIVECHANNELS in QM.INI file.

I am browsing thru the error log and find out that there were lot of error messages saying
Quote:
Max Channels Reached


1) Is it possible to get error like that? If yes, what could have caused that error?

Thanks in Advance


Last edited by Andarivadu on Tue May 24, 2005 8:54 am; edited 1 time in total
Back to top
View user's profile Send private message
mq_crazy
PostPosted: Fri May 20, 2005 7:27 am    Post subject: Reply with quote

Master

Joined: 30 Jun 2004
Posts: 295

Make sure your clients are disconnecting properly after they finish.
Back to top
View user's profile Send private message
Andarivadu
PostPosted: Fri May 20, 2005 8:04 am    Post subject: Reply with quote

Novice

Joined: 18 Apr 2005
Posts: 11

mq_crazy wrote:
Make sure your clients are disconnecting properly after they finish.

You mean MQ Clients? Can you please elaborate?

Thanks
Back to top
View user's profile Send private message
Anirud
PostPosted: Fri May 20, 2005 8:10 am    Post subject: Reply with quote

Master

Joined: 12 Feb 2004
Posts: 285
Location: Vermont

Chiru1 wrote:
mq_crazy wrote:
Make sure your clients are disconnecting properly after they finish.

You mean MQ Clients? Can you please elaborate?

Could be MQ/JAVA/JMS etc.
If you are not sure of client connection, do a dis chs(*) and check the output. If you see any SVRCONN channels running, it means that you have client connection.
Back to top
View user's profile Send private message Visit poster's website
Andarivadu
PostPosted: Fri May 20, 2005 9:34 am    Post subject: Reply with quote

Novice

Joined: 18 Apr 2005
Posts: 11

Thanks for the replies guys.

I am in home now and cannot access that QMgr to issue "dis chs(*)".

As Anirud mentioned, I have more than 100 JMS Clients accessing this QMgr. I have one System defined Defaulted SVRCONN channel (SYSTEM.DEF.SVRCONN) defined for this QMgr.

1) I beleive all those JMS Clients connect to this QMgr using that one SVRCONN Channel only. (Correct me if I am wrong) ?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri May 20, 2005 9:50 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Chiru1 wrote:
As Anirud mentioned, I have more than 100 JMS Clients accessing this QMgr. I have one System defined Defaulted SVRCONN channel (SYSTEM.DEF.SVRCONN) defined for this QMgr.


It doesn't matter how many SVRCONNs you have defined.

This error is thrown when the total number of connections - client and otherwise, is exceeded.

So if you have 25 recievers, and they are all active, then only 75 JMS clients can connect.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri May 20, 2005 12:12 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

And you should make a dedicated SVRCONN channel for each client (JMS) app. That way you can easily see which one is misbehaving and taking to many connections.

-Peter
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
csaunders
PostPosted: Fri May 20, 2005 1:05 pm    Post subject: Reply with quote

Acolyte

Joined: 27 Mar 2003
Posts: 64
Location: Arlington, Va

what about setting this in mqs.ini

MAXACTIVECHANNELS=800
MAXCHANNELS=800

we use 800
Back to top
View user's profile Send private message AIM Address
Anirud
PostPosted: Fri May 20, 2005 2:57 pm    Post subject: Reply with quote

Master

Joined: 12 Feb 2004
Posts: 285
Location: Vermont

csaunders wrote:
what about setting this in mqs.ini

MAXACTIVECHANNELS=800
MAXCHANNELS=800

we use 800


That would not solve the issue if the client application are not disconnecting properly.

Regards.
Back to top
View user's profile Send private message Visit poster's website
vennela
PostPosted: Fri May 20, 2005 3:18 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

csaunders wrote:
what about setting this in mqs.ini

MAXACTIVECHANNELS=800
MAXCHANNELS=800

we use 800

It should be in qm.ini and not mqs.ini
Back to top
View user's profile Send private message Send e-mail Visit poster's website
teal
PostPosted: Fri May 20, 2005 3:27 pm    Post subject: Reply with quote

Acolyte

Joined: 15 Dec 2004
Posts: 66

Peter,

ahhh..

So are you saying for example in the 5.1 Websphere Admin Console and setting up a JMS QueueConnectionFactory after you have specified :

Quote:

...
Queue Manager QMGR1
Host 172.33.44.55
Transport Type CLIENT
...


you should also set the "Channel Name" to some SVRCONN channel you create in actual WMQ5.3 for this queue connection factory?

if you leave the channel attribute blank it will automatically take SYSTEM.DEF.SVRCONN?
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri May 20, 2005 3:44 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Anirud's point is upping the max xhannels only delays the inevitable if the app is not disconnecting, leaving behind dozens, hundreds, thousands, millions...OK it won't get to millions....of orphaned channel connections.

teal, I believe that's the way it works. I require every app to use a dedicated SVRCONN channel, and sometimes within one app that has multiple components, each component gets their own channel. Not only is it easy to see who is misbehaving, but it also is easy to shut down that one channel, leaving all others unaffected.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Anirud
PostPosted: Mon May 23, 2005 8:01 am    Post subject: Reply with quote

Master

Joined: 12 Feb 2004
Posts: 285
Location: Vermont

Peter,
Thanks. That was exactly what I was thinking when I was replying to that post. Did not put it in exact words.

Thanks.
Back to top
View user's profile Send private message Visit poster's website
Andarivadu
PostPosted: Tue May 24, 2005 8:54 am    Post subject: Reply with quote

Novice

Joined: 18 Apr 2005
Posts: 11

Thanks all for your replies guys.
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 » [SOLVED] MAX Channels Reached - Error
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.