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 » Managing big message (>100mb), possible?

Post new topic  Reply to topic
 Managing big message (>100mb), possible? « View previous topic :: View next topic » 
Author Message
giorginus80
PostPosted: Fri Feb 27, 2009 1:36 am    Post subject: Managing big message (>100mb), possible? Reply with quote

Centurion

Joined: 08 Jul 2008
Posts: 124
Location: Rome, Italy

Hi,
I have very big message coming on my input node (may be Httpinput or MqInput) I have an OutOfMemory Error, I would like to know, If I create a file under /var/mqsi/registry/BROKER/CurrentVersion/MaxJVMHeapSize (I'm using linux and WMB 6.1.0.3) I solve the problem or anyway the broker can't manage message so large? My message is 150mb in other case larger too!
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Feb 27, 2009 3:11 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

This has been discussed many times on this forum. I expect your file contains a structure which repeats many times. If so, this is a good solution:

http://www-128.ibm.com/developerworks/websphere/library/techarticles/0505_storey/0505_storey.html
Back to top
View user's profile Send private message
giorginus80
PostPosted: Fri Feb 27, 2009 3:25 am    Post subject: Reply with quote

Centurion

Joined: 08 Jul 2008
Posts: 124
Location: Rome, Italy

kimbert wrote:
This has been discussed many times on this forum. I expect your file contains a structure which repeats many times. If so, this is a good solution:

http://www-128.ibm.com/developerworks/websphere/library/techarticles/0505_storey/0505_storey.html


I saw first, but I haven't a repeatable structure.
I have a normal XML with one field (base64binary) and this field it's larger than 100mb.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Feb 27, 2009 3:28 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You have a very badly designed XML document.

You should never edit anything under the broker registry yourself, and should only use documented methods for increasing Broker JVM heap sizes.
Back to top
View user's profile Send private message
giorginus80
PostPosted: Fri Feb 27, 2009 5:12 am    Post subject: Reply with quote

Centurion

Joined: 08 Jul 2008
Posts: 124
Location: Rome, Italy

mqjeff wrote:
You have a very badly designed XML document.

You should never edit anything under the broker registry yourself, and should only use documented methods for increasing Broker JVM heap sizes.


I didn't it, but on an ibm article http://www.ibm.com/developerworks/websphere/library/techarticles/0608_braithwaite/0608_braithwaite.html so it's suggested to increase java jvm size.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Feb 27, 2009 5:55 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

giorginus80 wrote:
mqjeff wrote:
You have a very badly designed XML document.

You should never edit anything under the broker registry yourself, and should only use documented methods for increasing Broker JVM heap sizes.


I didn't it, but on an ibm article http://www.ibm.com/developerworks/websphere/library/techarticles/0608_braithwaite/0608_braithwaite.html so it's suggested to increase java jvm size.


Notice that article is dated 2006 and ends with "This article has explained the role and function of the HTTP transport nodes in WebSphere Message Broker V6.0.0.1."

It's not current and does not show the best mechanism for increasing the Java Heap in Broker 6.1
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Feb 27, 2009 8:12 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

mqjeff wrote:
Notice that article is dated 2006 and ends with "This article has explained the role and function of the HTTP transport nodes in WebSphere Message Broker V6.0.0.1."

It's not current and does not show the best mechanism for increasing the Java Heap in Broker 6.1


Jeff, I saw the same article and we set this on our 6.1.0.3 Brokers.

Code:
mqsiservice MyBroker -r maxJVMHeapSize=536870912


We have a PMR open on how to verify this setting after the fact. We'll ask if this is even a valid thing to do at 6.1.0.3. Do you have any info to the contrary?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
slonkoski
PostPosted: Fri Feb 27, 2009 8:20 am    Post subject: IBM had us issue this Reply with quote

Acolyte

Joined: 18 Mar 2005
Posts: 52

mqsireportproperties brokername -c AllTypes -o AllReportableEntityNames -r

Gives lots of good info but doesn't confirm the setting. Playing with various flags now and waiting for word back on the PMR
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Feb 27, 2009 8:21 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

PeterPotkay wrote:
mqjeff wrote:
Notice that article is dated 2006 and ends with "This article has explained the role and function of the HTTP transport nodes in WebSphere Message Broker V6.0.0.1."

It's not current and does not show the best mechanism for increasing the Java Heap in Broker 6.1


Jeff, I saw the same article and we set this on our 6.1.0.3 Brokers.

Code:
mqsiservice MyBroker -r maxJVMHeapSize=536870912


We have a PMR open on how to verify this setting after the fact. We'll ask if this is even a valid thing to do at 6.1.0.3. Do you have any info to the contrary?


http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/an09143_.htm

Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Feb 27, 2009 8:24 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

More pedantically, in 6.1, I've seen hints that the C++ Runtime now gets it's stack/heap from the JVM in the first place. I expect this to be fully the case in later releases of Broker. So in any large memory situation, I expect it to continue to be useful/necessary to tune the JVM heap size.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Feb 27, 2009 8:37 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

mqjeff wrote:
PeterPotkay wrote:
mqjeff wrote:
Notice that article is dated 2006 and ends with "This article has explained the role and function of the HTTP transport nodes in WebSphere Message Broker V6.0.0.1."

It's not current and does not show the best mechanism for increasing the Java Heap in Broker 6.1


Jeff, I saw the same article and we set this on our 6.1.0.3 Brokers.

Code:
mqsiservice MyBroker -r maxJVMHeapSize=536870912


We have a PMR open on how to verify this setting after the fact. We'll ask if this is even a valid thing to do at 6.1.0.3. Do you have any info to the contrary?


http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/an09143_.htm




What's not clear is if that link refers to the JVM setting for the httpListener, or just for the EGs. We don't have lots of Jave Nodes, so don't really care about the EG's heap, but need to prepare for lots of connections to the httpListener, so want to increase its heap.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Feb 27, 2009 8:55 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

PeterPotkay wrote:
What's not clear is if that link refers to the JVM setting for the httpListener, or just for the EGs. We don't have lots of Jave Nodes, so don't really care about the EG's heap, but need to prepare for lots of connections to the httpListener, so want to increase its heap.

It's clearly for the broker as a whole, and not specifically for the bipHTTPListener process (which is separate from the SOAPListener, remember!).

But a simple ps command should tell you if it applies to both the DFEs and the bipHTTPListener, if you set the min JVM Heap...
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Feb 27, 2009 11:39 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

I can be clear about one thing. The memory occupied by the elements in the message tree does not come from Java. It is taken from the system heap ( in a well-organised way which avoids heap fragmentation ). So the Java heap setting will have no effect on whether memory is available for tree-building.
Back to top
View user's profile Send private message
slonkoski
PostPosted: Mon Mar 23, 2009 4:25 am    Post subject: Reply with quote

Acolyte

Joined: 18 Mar 2005
Posts: 52

We discovered that to verify the JVM setting for the biphttplistener process:
ls -l /var/mqsi/registry/qmgr/CurrentVersion
and you'll see a file named maxJVMHeapSize
view the file to see the size
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 » Managing big message (>100mb), possible?
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.