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 » Listener can not be started

Post new topic  Reply to topic
 Listener can not be started « View previous topic :: View next topic » 
Author Message
kun.leeing
PostPosted: Tue Feb 17, 2009 6:24 pm    Post subject: Listener can not be started Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

After too many clients connecting a port of mq server, the connection number of one port exceed the limit number. So the new clients can not connect server. And system is stopped.But after I stop all of the clients, the serverconn still hold old connections with previous apps and dont release them. why?

Then, I restart the mqm but the listener of that port can never be started even though I recreated it.

Finally , I restart the OS and then start mqm ,but the listener of the port still can not be started.

How do I solve this problem?

thanks.
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Feb 17, 2009 8:23 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

  • You allocate a different channel with SSL and mcauser to each application. This provides separation.
  • When an application drives the channel use to maxactivechannels you need to realize that the default tcp/ip timeout is around 2 hours.
  • You can force shutdown the channel to the incriminating application. Then restart it. This should clear up the max channels issue. Remember before doing this that you should make sure the network issue at the root cause has been taken care of first.


Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kun.leeing
PostPosted: Thu Feb 19, 2009 7:36 pm    Post subject: Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

Thanks for the reply.

It really solves my problem to some extent.
But by testing the program, I find a reason of making connections limit exceeded is we do not create an efficient reconnecting module.

After network being broken and then recovered,
I just call the method 'createConnection()' to check if connection with MQ Server is available and then create it.

Later I find a high rising of connection number of the port related to the retrying client and the unnecessary connections also can hardly be released though the reconnection have been finished.

My problems is

How can I release the resources of previous connections and clear up the environment after recovery of the network stopped by force as clients running?

How can I make a good reconnecting module that just retry gracefully and do not build too many connections ?

Is there an effective procedure of reconnecting model given?

Could you give me some clues?

thanks,everybody.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Listener can not be started
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.