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 » Maximum Number of channels exceeded

Post new topic  Reply to topic
 Maximum Number of channels exceeded « View previous topic :: View next topic » 
Author Message
kairaja
PostPosted: Sat Feb 09, 2002 3:53 pm    Post subject: Reply with quote

Novice

Joined: 08 Feb 2002
Posts: 13

Hello
I need some help real bad. We have an client application that puts messages in a QManager on a server box. The client is using MQConn call and using MQServer variable to communicate via channels.

First of all, can someone help me understand when does a new channel gets created. Meaning i created one Channel Definition, CHAN1 on the QManager. Then i have my client using MQConn and then it will start posting messages to the queues on the QManager. After sometime, my client program gets errors saying Maximum number of channels reached in the Event Viewer. Then i go and increase the channels and i get this again after sometime.

Does KeepAlive got to do with this. Can someone help me on this issue.
Back to top
View user's profile Send private message
kolban
PostPosted: Sat Feb 09, 2002 7:58 pm    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

The MQCONN channel is good until the associate MQCLOSE call. Try and keep the connection open as long as possible since a new channel is expensive. It sounds like you are leaking channel connections by not closing and re-opening a new one.
Back to top
View user's profile Send private message
kairaja
PostPosted: Sun Feb 10, 2002 12:12 pm    Post subject: Reply with quote

Novice

Joined: 08 Feb 2002
Posts: 13

Hello

Thanks for the reply. When you say MQClose, you are referring to the Que closing correct ? Before i do a MQPut, i open the que and put the message and then i close the queue. I am not sure how to close a channel connection. Do you disconnect() method of MQManager class ? I calling the disconnect() only when the application exits. Can you please post small code snippet of what mean as well. That might clear up my confusion. I really appreciate your help.
Back to top
View user's profile Send private message
kolban
PostPosted: Sun Feb 10, 2002 12:46 pm    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

Apologies, I meant to say MQDISC and not MQCLOSE. I have responded in your other thread. Lets use that one to track the issue.
Back to top
View user's profile Send private message
kairaja
PostPosted: Sun Feb 10, 2002 1:01 pm    Post subject: Reply with quote

Novice

Joined: 08 Feb 2002
Posts: 13

Ok Thanks for all the help.
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 » Maximum Number of channels exceeded
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.