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 » WebSphere Message Broker (ACE) Support » Message Size in WMB

Post new topic  Reply to topic
 Message Size in WMB « View previous topic :: View next topic » 
Author Message
kash3338
PostPosted: Tue Apr 17, 2012 10:39 pm    Post subject: Message Size in WMB Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

Hi,

I just need to know what is the maximum message a message flow can handle? I have a message with size upto 15MB, is it possible to process this message without doing any other configuration? I tried doing it and dont see the messages getting processed. The flow just hangs. I have increased the Queue Size to handle this size.

MB Version: 6.1
MQ Version: 7.0
Back to top
View user's profile Send private message Send e-mail
mqsiuser
PostPosted: Tue Apr 17, 2012 10:45 pm    Post subject: Re: Message Size in WMB Reply with quote

Yatiri

Joined: 15 Apr 2008
Posts: 637
Location: Germany

kash3338 wrote:
The flow just hangs.


Reduce your flow to MQInput -> ESQL -> MQOutput

ESQL-CODE: "SET OutputRoot = InputRoot; RETURN TRUE;"

and nothing else !

Does the message get processed then ? I guess: YES (if not for you, then you need to try harder )

Increase/Decrease the message size and tell us where you find a limit.

Thank you
_________________
Just use REFERENCEs
Back to top
View user's profile Send private message
Esa
PostPosted: Tue Apr 17, 2012 10:51 pm    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

There is no precise limit of message size in Message Broker. It depends on how much memory your machine has, among other things. Max message size in MQ is a little over 100 MB, but you can process larger messages than that in MB, if you use MQ segmentation or compressed messages.

Increasing queue size just increases the amount of messages that can reside in the queue simultaneously. Increasing the queue message size (default is 4 MB, max is 100 MB) helps you to send larger messages, but it does not affect Message Brokers ability to process messages.

If your flow hangs with 15 MB messages, it is because of bad flow design.
Back to top
View user's profile Send private message
kash3338
PostPosted: Tue Apr 17, 2012 11:01 pm    Post subject: Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

Thanks for your elaborate responses.

I ment I increaed the Message Size in MQ and not the Queue Size. May be I was not clear on that.

The flow design is just simple one,

MQInput --> Invoke Subflow to Log Entry EVent --> Compute Node (Just copy the message to Output) --> Invoke Subflow to Log Exit EVent --> MQOutput.

I dont think its a Bad design and its pretty simple. When I try to debug, it does not even get triggered when I drop a Message of 15MB.
Back to top
View user's profile Send private message Send e-mail
Esa
PostPosted: Wed Apr 18, 2012 12:43 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

kash3338 wrote:

The flow design is just simple one,

MQInput --> Invoke Subflow to Log Entry EVent --> Compute Node (Just copy the message to Output) --> Invoke Subflow to Log Exit EVent --> MQOutput.
I dont think its a Bad design and its pretty simple.

Even that simple flow can copy the message several times. In the case of large messages each unnecessary copy has a huge effect on performance. It seems the flow does not transform the message or message headers at all. My guess is that if you check the flow and the subflows, you will find out that the message gets copied from InputRoot to OutputRoot at least three times - each of them unnecessary.

That kind of a simple flow should not hang. Have you checked the backout count of the first message in the queue? You should have an exception handler capturing and logging exceptions.

kash3338 wrote:
When I try to debug, it does not even get triggered when I drop a Message of 15MB.


In practice it is not possible to debug large messages, because whole parsed message will be transferred from the broker to the toolkit for each step in the debugger. Usually you just get a timeout if if try. Try user trace instead.
Back to top
View user's profile Send private message
mqsiuser
PostPosted: Wed Apr 18, 2012 12:57 am    Post subject: Reply with quote

Yatiri

Joined: 15 Apr 2008
Posts: 637
Location: Germany

Esa wrote:
Try user trace instead.


Wouldn't a user trace create relativly large trace files (with large messages).

I am usually detaching the debugger to having nothing that might interfer (with my code).

Then I test based on input and output msgs (only)... works great on my laptop.

For coding, debugging use small messages & the debugger... when you are finished start putting large messages through (blindly).

This is just the way it works for me.
_________________
Just use REFERENCEs
Back to top
View user's profile Send private message
Esa
PostPosted: Wed Apr 18, 2012 1:07 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

mqsiuser wrote:
Esa wrote:
Try user trace instead.


Wouldn't a user trace create relativly large trace files (with large messages).

Yes. Especially if the flow hangs with a loop.
On the other hand, if the flow repeatedly crashes the execution group, you wont see anything of value in the trace file, except that something is repeatedly missing.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Apr 18, 2012 1:23 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
For coding, debugging use small messages & the debugger... when you are finished start putting large messages through (blindly).

This is just the way it works for me.
Nothing wrong with that, if it works for you. User trace contains a lot more information than the debugger can give you, but a lot less information than a service trace. Sometimes ( especially when debugging a message parsing/writing problem ) it is the only way to find out what you need to know.
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 » WebSphere Message Broker (ACE) Support » Message Size in WMB
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.