| Author |
Message
|
| RogerLacroix |
Posted: Wed Oct 03, 2007 11:31 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3265 Location: London, ON Canada
|
| carolhara wrote: |
Ahn... these "grep", "tail" commands... are for Linux, right?
I´m using windows. =( |
So what! Go get GNU utilities for Win32 and you will be able to do those commands too.
http://unxutils.sourceforge.net/
I use them all all the time on Windows.
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
| Back to top |
|
 |
| bruce2359 |
Posted: Wed Oct 03, 2007 1:28 pm Post subject: |
|
|
Guest
|
Connections in MQ usually refer to programs MQCONNected to a qmgr. This has no impact on the number of channels.
Your qustion about how to decide the appropriate number to expand the channel status table (active) and maximum (maximum) has to do with the number of channels that connect one qmgr to another qmgr. No guesswork here. Count the number of channels you plan to implement; then add that.
Or am I completely misunderstanding this post? This is possible. |
|
| Back to top |
|
 |
| jefflowrey |
Posted: Wed Oct 03, 2007 1:55 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Svrconn/clntconn channel pairs count against MaxActiveChannels.
MaxChannels isn't enforced except on zOS. _________________ I am *not* the model of the modern major general. |
|
| Back to top |
|
 |
| carolhara |
Posted: Thu Oct 04, 2007 5:25 am Post subject: |
|
|
Acolyte
Joined: 02 Oct 2007 Posts: 56
|
| bruce2359 wrote: |
Connections in MQ usually refer to programs MQCONNected to a qmgr. This has no impact on the number of channels.
Your qustion about how to decide the appropriate number to expand the channel status table (active) and maximum (maximum) has to do with the number of channels that connect one qmgr to another qmgr. No guesswork here. Count the number of channels you plan to implement; then add that.
Or am I completely misunderstanding this post? This is possible. |
I´m sorry but I don´t understand what you mean.
What I mean is: some days ago I counted the connections that were active in each channel (not a nice work to do). Totally there were 198. My MaxActiveChannel was set to 200.
Later that day, we received message "Maximum number of channels reached." I guess that happend because the number of connections went over 200. Right?
People are asking me if there is a way I won´t have to count the connections mannualy... channel by channel. They want it displayed somewhere... but i cannot find out how. If there was an easier way to do that we wouldn´t have waited the connections to reach 198 and then 200.
I´m sorry to bother you guys... i cannot download the gnu utilities. It´s a big company... they have rules... And I sooo don´t know MQseries as you.
Well, complicated.
Again, thank you for answering my post! |
|
| Back to top |
|
 |
| bruce2359 |
Posted: Thu Oct 04, 2007 5:38 am Post subject: |
|
|
Guest
|
How many channel definitions have you created? What kind?
What applications? MQ client conn? WAS? .NET? JMS? Something else?
Is this a brand-new issue for you? If so, what changed? |
|
| Back to top |
|
 |
| Vitor |
Posted: Thu Oct 04, 2007 6:02 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
| bruce2359 wrote: |
How many channel definitions have you created? What kind?
What applications? MQ client conn? WAS? .NET? JMS? Something else?
Is this a brand-new issue for you? If so, what changed? |
I'd guess this is a client connection issue, and would suspect a badly behaved app is not dropping the connections it's finished with.
And yes, I know that's obvious to a lot of people. But possibly not everyone.
If this is a brand new issue then the question "what changed" is especially relevant, particually if there's been a code release recently! _________________ Honesty is the best policy.
Insanity is the best defence. |
|
| Back to top |
|
 |
| carolhara |
Posted: Thu Oct 04, 2007 6:42 am Post subject: |
|
|
Acolyte
Joined: 02 Oct 2007 Posts: 56
|
| bruce2359 wrote: |
How many channel definitions have you created? What kind?
What applications? MQ client conn? WAS? .NET? JMS? Something else?
Is this a brand-new issue for you? If so, what changed? |
There are receiver, server connection and sender, but mostly server connection.
MQ Clientconn.
Nothing changed and yet it is a new issue. |
|
| Back to top |
|
 |
| Vitor |
Posted: Thu Oct 04, 2007 6:49 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
[quote="carolhara but mostly server connection.
[/quote]
I knew it!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
| Back to top |
|
 |
| PeterPotkay |
Posted: Thu Oct 04, 2007 3:49 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7723
|
We just use the free MO71 suppot pach which makes it very easy to see what the total # of active channels are, the # of a particular named channel, the # from a particular IP, the # of anything-channel-parm-you-can-think-of.
That works for a manual check.
For automated alerting we built a script on windows (I can post it if you want tomorrow) that counts the channels every few minutes. If its over our threshold we put a message to a queue and QPASA fires us an email when that q depth goes up by 1.
We also opened a request to MQSoftware to beef up QPASA to include monitoring and alerting for channel counts. Seems like a pretty basic requirement. I was surprised when we found no way to do it in the current release of QPASA. _________________ Peter Potkay
Keep Calm and MQ On |
|
| Back to top |
|
 |
| jefflowrey |
Posted: Thu Oct 04, 2007 4:12 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
| PeterPotkay wrote: |
| We also opened a request to MQSoftware to beef up QPASA to include monitoring and alerting for channel counts. Seems like a pretty basic requirement. I was surprised when we found no way to do it in the current release of QPASA. |
That is surprising. _________________ I am *not* the model of the modern major general. |
|
| Back to top |
|
 |
| carolhara |
Posted: Fri Oct 05, 2007 10:45 am Post subject: |
|
|
Acolyte
Joined: 02 Oct 2007 Posts: 56
|
So.. I found it on Candle.
It´s not exactly what I wanted but it helps me a lot. It gives the connections by type of channel and since we have mostly server connections it´s now easier to count them.
Thank you very much! |
|
| Back to top |
|
 |
| dk27 |
Posted: Tue May 20, 2008 2:26 am Post subject: |
|
|
Acolyte
Joined: 28 Apr 2008 Posts: 51
|
| is there any runmqsc command that give max active server conn channel on queue manager. I want to know how many clients are connected to a queue manager? |
|
| Back to top |
|
 |
| Vitor |
Posted: Tue May 20, 2008 2:28 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
| dk27 wrote: |
| is there any runmqsc command that give max active server conn channel on queue manager. |
Yes. The ones posted on the front of this thread.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
| Back to top |
|
 |
|
|