Author |
Message
|
srdy |
Posted: Mon Jul 16, 2012 9:39 am Post subject: WMB |
|
|
Newbie
Joined: 13 Jun 2012 Posts: 3
|
Hi..Can any one tell me...What is the maximum length of message that can pass throgh the message broker? |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jul 16, 2012 9:49 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
the maximum length of a message that can pass through broker is the size of the largest message that the transport that has the largest size can pass is.
That is, there's a big difference in the maximum size of a message from MQ than from a file system or TCP/IP.
Broker leaves it up to the transport - and the wisdom of the developer - to control the maximum size of the messages it processes.
Another way of looking at it is, Broker will gladly attempt to process a message larger than your system is capable of handling. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jul 16, 2012 10:15 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Example: MQ default max message size is found in the InfoCentre. If you look up this value, you will find that it can be changed by various different settings, some having to do with the transport, some having to do with the queue and some having to do with the QMGR. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
inMo |
Posted: Mon Jul 16, 2012 11:00 am Post subject: |
|
|
 Master
Joined: 27 Jun 2009 Posts: 216 Location: NY
|
Is there a theoretical limit? If memory serves correct each EG has something like a 2GB memory limit. If that's correct, would the EG fail if a doc > 2 GB were submitted? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jul 16, 2012 11:05 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
inMo wrote: |
Is there a theoretical limit? If memory serves correct each EG has something like a 2GB memory limit. If that's correct, would the EG fail if a doc > 2 GB were submitted? |
No, but it would process really really slow. I like mqjeff's suggestion that the WISDOM of the developer should prevail. Common sense is not so common. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jul 16, 2012 11:24 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
inMo wrote: |
Is there a theoretical limit? If memory serves correct each EG has something like a 2GB memory limit. If that's correct, would the EG fail if a doc > 2 GB were submitted? |
There is a large message sample....
There are performance reports... |
|
Back to top |
|
 |
kimbert |
Posted: Mon Jul 16, 2012 11:35 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
re: your chosen title for this thread...do you fill in the subject line on your emails with the single word 'Email'? I thought not. |
|
Back to top |
|
 |
srdy |
Posted: Mon Jul 16, 2012 8:03 pm Post subject: |
|
|
Newbie
Joined: 13 Jun 2012 Posts: 3
|
so it can process 500MB or 1GB depends upon the memory serves to the broker |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jul 17, 2012 4:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
srdy wrote: |
so it can process 500MB or 1GB depends upon the memory serves to the broker |
It depends on a number of things, including the amount of memory available to the broker, how efficently your code uses the memory and other potential restrictions.
As indicated in previous posts. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
alex919 |
Posted: Thu Jul 19, 2012 5:56 am Post subject: |
|
|
Newbie
Joined: 17 Jul 2012 Posts: 7
|
FYI,
I have tested broker 8 with an infinite processing loop just to see when it fails ...
The EG crashed only when it reached server's swap file limit,
far beyond the physical memory available,
of which it took almost 95% (8GB Linux machine). |
|
Back to top |
|
 |
|