Author |
Message
|
Al Pacino |
Posted: Thu Jan 19, 2006 9:12 am Post subject: Max Depth on Channel |
|
|
 Centurion
Joined: 19 Aug 2005 Posts: 114
|
Hello all,
Is there a way to monitor if the max depth on a channel is reached or being closed to reach the max ? tools ? script? advice ? thanks
this is for MQ 5.3 CSD 10 Windows 2003 _________________ "We can't solve problems by using the same kind of thinking we used
when we created them." |
|
Back to top |
|
 |
wschutz |
Posted: Thu Jan 19, 2006 10:10 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Do you mean "max depth on transmission queue"? There is no such thing as "max depth on channel"
There is a manual called "Monitoring MQ" that gives good detail about these tpyes of things .... _________________ -wayne |
|
Back to top |
|
 |
Al Pacino |
Posted: Thu Jan 19, 2006 10:30 am Post subject: |
|
|
 Centurion
Joined: 19 Aug 2005 Posts: 114
|
thanks Wayne ,, I meant the MaxMsgLength _________________ "We can't solve problems by using the same kind of thinking we used
when we created them." |
|
Back to top |
|
 |
wschutz |
Posted: Thu Jan 19, 2006 10:39 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Okay, you shoulds set the max msg length on your XMITQ to match that of the channel. If an application trys to put a large message, it immediately gets back a bad return code.
If the max msg len on the channel is lower than on the xmit queue, it will go to the local DLQ.
So are you looking for something like: "The average size of a message put to a xmitq is 7894 bytes and the max msg len is 10,000 bytes"? _________________ -wayne |
|
Back to top |
|
 |
Al Pacino |
Posted: Thu Jan 19, 2006 11:53 am Post subject: |
|
|
 Centurion
Joined: 19 Aug 2005 Posts: 114
|
thanks for this great information. Yes thats the average I am looking for . I guess making sure I match what in the channel with the xmit will resolve any future issue. _________________ "We can't solve problems by using the same kind of thinking we used
when we created them." |
|
Back to top |
|
 |
wschutz |
Posted: Thu Jan 19, 2006 12:27 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
If you upgrade to MQ V6, you can turn statistics on for the xmitq and get information to dervice the average message size (putbytes / putcount).
In V5.3, you would need to capture this data yourself via an API or channel message exit  _________________ -wayne |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jan 19, 2006 7:27 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Al Pacino wrote: |
thanks for this great information. Yes thats the average I am looking for . I guess making sure I match what in the channel with the xmit will resolve any future issue. |
Make sure as well that you NEVER use this channel as default pathway between any 2 qmgrs. You will never know what the message and / or its size is when the message uses a default pathway...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|