|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Need to create 2000 Connections to Queue Manager |
« View previous topic :: View next topic » |
Author |
Message
|
sankritya |
Posted: Tue Dec 21, 2010 10:20 am Post subject: |
|
|
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 |
|
 |
bruce2359 |
Posted: Tue Dec 21, 2010 10:26 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Tue Dec 21, 2010 10:29 am Post subject: |
|
|
 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 |
|
 |
sankritya |
Posted: Tue Dec 21, 2010 10:36 am Post subject: |
|
|
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 |
|
 |
|
|
|
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
|
|
|
|