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 » Need to create 2000 Connections to Queue Manager

Post new topic  Reply to topic Goto page Previous  1, 2
 Need to create 2000 Connections to Queue Manager « View previous topic :: View next topic » 
Author Message
sankritya
PostPosted: Tue Dec 21, 2010 10:20 am    Post subject: Reply with quote

Centurion

Joined: 14 Feb 2008
Posts: 100

Quote:
So what you're saying is that your design has 2000 separate threads all running against the queue manager, all at the same time, and running the queue manager out of connections. 2000 threads. For an extended period. Against a single queue, or a number of queues?


Client applications are trying to read messages from different Queues defined in Queue Manager. We have identified the client connection using maximum number of connections. But till the time they rectify the error of their program we want to increase it to 2000( randomly selected number based on approximation) as a short term solution so that other applications are not affected.


Quote:
can you connect with RFHUtil when the clients start testing, but after a little while you get the error message? If so, how many clients are actually running at that time?


yes, I can connect using RFHUtil in the beginning. Reading of connection count is around 100 when the problem of connection starts appearing.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Dec 21, 2010 10:26 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9475
Location: US: west coast, almost. Otherwise, enroute.

Quote:
Reading of connection count is around 100 when the problem of connection starts appearing.

Take a look at the qm.ini file for this qmgr. Look for the keyword channels:
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Dec 21, 2010 10:29 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sankritya wrote:
We have identified the client connection using maximum number of connections. But till the time they rectify the error of their program we want to increase it to 2000( randomly selected number based on approximation) as a short term solution so that other applications are not affected.


So I was right; the client isn't disconnecting properly. This is a 5 minute fix.


sankritya wrote:
Quote:
can you connect with RFHUtil when the clients start testing, but after a little while you get the error message? If so, how many clients are actually running at that time?


yes, I can connect using RFHUtil in the beginning. Reading of connection count is around 100 when the problem of connection starts appearing.


Because the default value of the setting you're trying to change is 100.

Changing this to 2000 is a bad idea. Firstly, if you set it to 2000, the application team will lose the will to change their code & just tell you to change it to 3000. Secondly, unless you have a really big server it will run out of memory before it gets to 2000 connections & the queue manager will crash.

Get them to fix the code. It's not like it's a major design change.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sankritya
PostPosted: Tue Dec 21, 2010 10:36 am    Post subject: Reply with quote

Centurion

Joined: 14 Feb 2008
Posts: 100

Thanks for your help Vitor and bruce.

I have checked the qm.ini file. It doesn't contains stanza for channels. I will add something like this

Channels:
MaxChannels=2000
MaxActiveChannels=2000
MQIBindType=STANDARD

Hope this will fix the issue for time being.
@ Vitor - I have already stated the risk of increase the number of Channels to client that it may lead to Queue Manager crash.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » Need to create 2000 Connections to Queue Manager
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.