ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Setting size limit on MQ

Post new topic  Reply to topic
 Setting size limit on MQ « View previous topic :: View next topic » 
Author Message
mrfridaynight
PostPosted: Mon Sep 07, 2009 9:40 pm    Post subject: Setting size limit on MQ Reply with quote

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
View user's profile Send private message MSN Messenger
WMBDEV1
PostPosted: Mon Sep 07, 2009 11:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Mon Sep 07, 2009 11:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Sep 08, 2009 7:25 am    Post subject: Reply with quote

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
View user's profile Send private message
agrawalamit166
PostPosted: Tue Nov 03, 2009 8:53 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
exerk
PostPosted: Tue Nov 03, 2009 9:00 am    Post subject: Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Tue Nov 03, 2009 11:17 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Setting size limit on MQ
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.