Author |
Message
|
paleyplease |
Posted: Wed Feb 05, 2014 1:49 pm Post subject: MAXMSGL |
|
|
Apprentice
Joined: 05 Feb 2014 Posts: 45
|
We are running into the following exception attempting to pull a message from the queue which is 150mb.
GetMQMessage: need to allocate larger space, msgSize = 150320024
GetMQMessage: realloc will be performed.
GetMQMessage: MQGET number 1 returned a Reason code of 2010
GetMQMessage returned a Reason code of 2010
MQGET FAILED retreiving message. Reason was 0
Ironic thing is we are able to send this message across another triggered process without issue. Trying to understand why it i capable of sending a msg larger than 100mb but unable to do a get. |
|
Back to top |
|
 |
exerk |
Posted: Wed Feb 05, 2014 2:10 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
You can't send a message larger than 100MB unless you chunk the message, i.e. segmentation or message group, ergo, you're not sending a 143MB message in the way you think you are.
And please clarify what you mean by "...we are able to send this message across another triggered process without issue...", thank you. _________________ 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 |
|
 |
paleyplease |
Posted: Wed Feb 05, 2014 2:16 pm Post subject: |
|
|
Apprentice
Joined: 05 Feb 2014 Posts: 45
|
Thank you for the response. The error we are seeing is on the get, throwing the 2010 error. It does make sense the message is probably chunked or grouped. How could we bypass the 2010 error on the get especially if the MQ limit is 100mb. |
|
Back to top |
|
 |
exerk |
Posted: Wed Feb 05, 2014 10:13 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
paleyplease wrote: |
Thank you for the response. The error we are seeing is on the get, throwing the 2010 error. It does make sense the message is probably chunked or grouped. How could we bypass the 2010 error on the get especially if the MQ limit is 100mb. |
All the information you require is HERE, and you still have not answered my question. _________________ 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 |
|
 |
paleyplease |
Posted: Thu Feb 06, 2014 5:51 am Post subject: |
|
|
Apprentice
Joined: 05 Feb 2014 Posts: 45
|
You can ignore that for now. So based on the assumption that the large message is sent as a group, does that mean it is sent as multiple messages?
Then why does the get app that is throwing the 2010 recognize the message as such a large value (143mb or so) |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Feb 06, 2014 6:07 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
The maximum physical WMQ message length is 100meg. Since it can't be greater than 100meg, please look into the queue to see exactly the message length; and post the length here.
Look at the message header (MQMD) to see if the message(s) are segmented, part of a message group, or something else.
Far better to know, than to speculate. _________________ 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 |
|
 |
paleyplease |
Posted: Thu Feb 06, 2014 6:21 am Post subject: |
|
|
Apprentice
Joined: 05 Feb 2014 Posts: 45
|
Sounds good, I will take a look and reply back. But if I were to look to group or segment the messages is that done by the putting/getting application via the MQAPI or is that done / configured within MQ (channels/queues/qmgrs) |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Feb 06, 2014 6:26 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Messages can be segmented by MQPUTting applications and qmgrs. If segmentation is allowed, a receiving MCA can segment a message before putting a segment into a queue.
Message groups are created by MQPUTting applications. _________________ 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 |
|
 |
paleyplease |
Posted: Thu Feb 06, 2014 6:39 am Post subject: |
|
|
Apprentice
Joined: 05 Feb 2014 Posts: 45
|
Thank you for the reply. Basically what I am trying to do is send a 150mb or so message across a channel but the application is throwing the 2010 on the get of the message. I am trying to figure out how I can get around this. In terms of volume we do not plan to send many messages (maybe 1-2) large messages to this queue in a month. Essentially looking for a solution on how to overcome this hurdle. Therefore looking for suggestions with what we are attempting to do on Linux using WMQv7.5.x |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Feb 06, 2014 7:16 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Feb 06, 2014 7:45 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Quote: |
This reason can also be returned to an MQ client program on the MQGET, MQPUT, or MQPUT1 call, if the BufferLength parameter exceeds the maximum message size that was negotiated for the client channel. |
Seems like a catch 22 with segmentation?
May be the app needs to assemble the payload of the messages ?
What happens if you need to translate the CCSID and thus exceed the max msg length in the channel?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Feb 06, 2014 8:57 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
What type of channels is the messaging flowing across? SENDER-RECEIVER? SVRCONN?
What is the max message length of the channels?
What is the max msg length of the qmgr?
What version of WMQ at both ends of the channel? _________________ 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 |
|
 |
PeterPotkay |
Posted: Thu Feb 06, 2014 8:59 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Do you have a 150 MB message requirement? Or do you have 150MB worth of data that could/should be broken up into many little messages that can be sent across independently? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Feb 06, 2014 9:03 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
PeterPotkay wrote: |
Do you have a 150 MB message requirement? Or do you have 150MB worth of data that could/should be broken up into many little messages that can be sent across independently? |
Is the message content a transaction? Or is it file contents - a file transfer? _________________ 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 |
|
 |
|