Author |
Message
|
maxy_14in |
Posted: Fri Mar 19, 2010 6:20 pm Post subject: Max out connections to the QMGR |
|
|
Apprentice
Joined: 07 Nov 2008 Posts: 43
|
The QMGR was configured to accept amx of 250 incoming connections requests from the client. The max number of connections i.e., 250 reached and now the QMGR is simply refusing more connections to it. MQ Explorer dsnt work as it dsnt gets connected, we figured it first as the QMGR was down but, QMGR was RUNNING when checked through cmd prompt. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Mar 19, 2010 6:54 pm Post subject: Re: Max out connections to the QMGR |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
maxy_14in wrote: |
The QMGR was configured to accept amx of 250 incoming connections requests from the client. The max number of connections i.e., 250 reached and now the QMGR is simply refusing more connections to it. MQ Explorer dsnt work as it dsnt gets connected, we figured it first as the QMGR was down but, QMGR was RUNNING when checked through cmd prompt. |
Go onto the box and use runmqsc
With redirecting the output of dis chs(*) where (status eq running) you should be getting a list of active channels. You can grep that by "CHANNEL", sort it and number the lines. That should give you which channel has the most instances... My guess is the result will be self explanatory... You can force shut it down using runmqsc...
What you will need to do is use a to hit your developers with for not closing the channel. If you truly do need more channels.... (quite possible) do an evaluation of how many are needed and double that amount for the qm.ini.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
exerk |
Posted: Sat Mar 20, 2010 2:07 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
And use a discrete SVRCONN per application because that way you can shut down the offending channel without impacting the other client applications, i.e. 10 apps, 10 SVRCONN's. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Mar 20, 2010 7:22 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
very strongly!  _________________ MQ & Broker admin |
|
Back to top |
|
 |
gbaddeley |
Posted: Sun Mar 21, 2010 4:23 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
exerk wrote: |
And use a discrete SVRCONN per application because that way you can shut down the offending channel without impacting the other client applications, i.e. 10 apps, 10 SVRCONN's. |
Plus in MQ v7 you can limit the number of connections on each SVRCONN so that no single application can hog the maxchannels and block other apps from connecting and other distributed and cluster channels from starting. _________________ Glenn |
|
Back to top |
|
 |
shashivarungupta |
Posted: Mon Mar 22, 2010 12:58 pm Post subject: Re: Max out connections to the QMGR |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
maxy_14in wrote: |
The QMGR was configured to accept amx of 250 incoming connections requests from the client. The max number of connections i.e., 250 reached and now the QMGR is simply refusing more connections to it. |
By the way... the solutions that you got from seniors are very true. and if you would have checked the previous posts of similar kind of issue then you would found comments and suggestions from PeterPotkay, Roger, Vitor, exerk, fjb_saper, me and lots others.
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
maxy_14in |
Posted: Tue Mar 23, 2010 3:38 am Post subject: |
|
|
Apprentice
Joined: 07 Nov 2008 Posts: 43
|
thank you very for one and all ...
how to identify the connections to the QMGR ? |
|
Back to top |
|
 |
exerk |
Posted: Tue Mar 23, 2010 3:48 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
maxy_14in wrote: |
...how to identify the connections to the QMGR ? |
Once you can connect MQExplorer, right click on the queue manager and select Application Connections... and all will be revealed  _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Tue Mar 23, 2010 11:14 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
maxy_14in wrote: |
how to identify the connections to the QMGR ? |
I am absolutely agree with exerk.
You can also see by right clicking Qmgr > Status > General : Connection Count, is the parameter you can find it here.
but afa 'Threads' are concerned.. you can check the 'Application Connections' (look at the App Type while looking at the Thread).
Thanks. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
maxy_14in |
Posted: Wed Mar 24, 2010 3:39 am Post subject: |
|
|
Apprentice
Joined: 07 Nov 2008 Posts: 43
|
|
Back to top |
|
 |
maxy_14in |
Posted: Thu Mar 25, 2010 3:38 am Post subject: |
|
|
Apprentice
Joined: 07 Nov 2008 Posts: 43
|
how abt using the 'lsof -i' command ? |
|
Back to top |
|
 |
|