|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Setting size limit on MQ |
« View previous topic :: View next topic » |
Author |
Message
|
mrfridaynight |
Posted: Mon Sep 07, 2009 9:40 pm Post subject: Setting size limit on MQ |
|
|
Apprentice
Joined: 13 Nov 2006 Posts: 44
|
Hi Guys,
I'm currently running MQ Server 6.0.2.2 on windows 2003. I would like to know what is the default queue size for messages? I heard it's 4mb. Is this true? How do i set a size limit of 10mb on the queues or Queue Managers?
Thanks |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Mon Sep 07, 2009 11:35 pm Post subject: |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
The default maximum message length for channels, QMs and queues is 4MB. Search for the MAXMSGL parameter for information. |
|
Back to top |
|
 |
zpat |
Posted: Mon Sep 07, 2009 11:39 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
If you increase it on a queue, also increase it for the queue manager, the DLQ, the transmit queues and the channels that are connected with handling these messages. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Sep 08, 2009 7:25 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
WMBDEV1 wrote: |
The default maximum message length for channels, QMs and queues is 4MB. Search for the MAXMSGL parameter for information. |
Note that this is the maximum message length not the default message length the poster was asking about.
Of course there's no such thing as default length so this is the best advice we can offer.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
agrawalamit166 |
Posted: Tue Nov 03, 2009 8:53 am Post subject: |
|
|
 Voyager
Joined: 17 Aug 2009 Posts: 78 Location: NY, US
|
Yes, you are correct the default size is not mentioned anywhere, because anybody can send any size of message into queue. But for WMQv7, default Max depth of queue is 5000 and default Max message length 100MB.
I found some more information from wmqv7 Document:-
The default maximum message length is 4 MB, although you can increase this to a maximum length of 100 MB (where 1 MB equals 1 048 576 bytes)
And High limit for Queue Depth, QDepthHighLimit(10-digit signed integer), The value is expressed as a percentage of the maximum queue depth (MaxQDepth attribute), and is greater than or equal to 0 and less than or equal to 100. The default value is 80. |
|
Back to top |
|
 |
exerk |
Posted: Tue Nov 03, 2009 9:00 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
agrawalamit166 wrote: |
...the default size is not mentioned anywhere, because anybody can send any size of message into queue... |
No, they can't. A queue/queue manager with, for example, a 4MB max message size will NOT allow a message larger than that limitation to be put anywhere.
agrawalamit166 wrote: |
High limit for Queue Depth, QDepthHighLimit(10-digit signed integer), The value is expressed as a percentage of the maximum queue depth (MaxQDepth attribute), and is greater than or equal to 0 and less than or equal to 100. The default value is 80. |
This is the 'high-water-mark' for when events are switched on, i.e. 80% of the maximum queue depth set. _________________ 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 |
|
 |
bruce2359 |
Posted: Tue Nov 03, 2009 11:17 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
But for WMQv7, default Max depth of queue is 5000 and default Max message length 100MB. |
No. There are near zero defaults in MQ.
There are attribute values, however. A queue (like the SYSTEM.DEFAULT.LOCAL.QUUE), has attributes like maxdepth and maxmsglength (sp?) that come from the factory with these values set as you state above.
When you create a new queue you can set the attribute value to a different value. _________________ 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|