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 » mqsichangeflowstats

Post new topic  Reply to topic
 mqsichangeflowstats « View previous topic :: View next topic » 
Author Message
MKHODER1
PostPosted: Fri Jun 07, 2019 1:47 am    Post subject: mqsichangeflowstats Reply with quote

Apprentice

Joined: 18 Aug 2018
Posts: 31

Hello everyone,

I have a problem activating statistics on message flows.

I work with the iib v 10.0.0.16.

I ran the following command to enable statistics on my statisticsF message flow:

mqsichangeflowstats BR_TEST -a -e ZK_S1 -k StatisticsA -f statisticsF -c active -t basic -o xml
BIP8071I: Successful command completion.

When I go to the webadmin to see the statistics of my message flow, I receive the following message:

Statistics collection is disabled.

Is there anything else to do?

Thank you in advance.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jun 07, 2019 6:06 am    Post subject: Re: mqsichangeflowstats Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

MKHODER1 wrote:
Hello everyone,

I have a problem activating statistics on message flows.

I work with the iib v 10.0.0.16.

I ran the following command to enable statistics on my statisticsF message flow:

mqsichangeflowstats BR_TEST -a -e ZK_S1 -k StatisticsA -f statisticsF -c active -t basic -o xml
BIP8071I: Successful command completion.

When I go to the webadmin to see the statistics of my message flow, I receive the following message:

Statistics collection is disabled.

Is there anything else to do?

Thank you in advance.

Yes, you have to enable it as well on the webgui. This creates the subscription to the stats publication so that you can display them graphically.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
MKHODER1
PostPosted: Thu Jul 18, 2019 1:21 am    Post subject: Reply with quote

Apprentice

Joined: 18 Aug 2018
Posts: 31

Thanks for your response,

I am testing the resource statistics more precisely the JVM.

I created and deployed an outOfMemory application.

Here is the statitics data collected.


InitialMemoryInMB UsedMemoryInMB CommittedMemoryInMB MaxMemoryInMB
Summary 309 1096 2118 -1
Non-Heap Memory 273 75 334 -1
Heap Memory 36 1021 1748 2048

My broker is down, yet I have not used the 2048 > 1096, I still have margin.

The CommittedMemoryInMB = 2118> 2048.

Do I compare the summary of CommittedMemoryInMB or UsedMemoryInMB to the 2GB set on the execution group?

Thank you in advance.
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Thu Jul 18, 2019 6:15 am    Post subject: Reply with quote

Knight

Joined: 17 Jul 2017
Posts: 516
Location: UK

MKHODER1 wrote:

The CommittedMemoryInMB = 2118> 2048.


hi...you mainly need to focus on the CommittedMemoryInMB stats but against 'Heap Memory' and not 'Non-Heap Memory' as it is the heap which is limited by the JVM's heap size that you set as 2GB. So it should read as

Quote:
CommittedMemoryInMB = 1748 < 2048


UsedMemoryInMB will always be lower than CommittedMemoryInMB, when the flow processes some large message or does some memory intensive task it will allocate more memory to that process as CommittedMemoryInMB in the anticipation that the flow will usually have similar footprint when process messages in future.

MKHODER1 wrote:

My broker is down, yet I have not used the 2048 > 1096, I still have margin.


Regarding this, is this the average stat of when the OutOfMemory failure occurred or just a one time stat? Ideally you need to collect stats data from the start of the processing till the OOM error and analyze it. Usually when an OOM error occurs CommittedMemoryInMB will almost be at the same range as MaxMemoryInMB.

There are some pointers as the infocenter topic - https://www.ibm.com/support/knowledgecenter/SSMKHH_10.0.0/com.ibm.etools.mft.doc/ac55030_.htm
Back to top
View user's profile Send private message
MKHODER1
PostPosted: Tue Jul 23, 2019 3:23 am    Post subject: ResourceStatistics Reply with quote

Apprentice

Joined: 18 Aug 2018
Posts: 31

Thanks for your response,

This is the average statistic of when failure outOfMemory failed.

Before I looked the resource statistics on WebAdmin.

Now I subscribe to the topic $SYS/Broker/BR_STATS/ResourceStatistics/# for more accurate statistics.

The maximum :
<ResourceStatistics brokerLabel = "BR_STATS" brokerUUID = "0c6ce7d4-8dcf-11e9-a9c0-ac1a4a700000" executionGroupName = "EG_S1" collectionStartTime = "11:45:26" startDate = "2019-07-23" startTime = "11.30" 07 " endDate = "2019-07-23" endTime = "11:47:35" name = "Heap Memory" InitialMemoryInMB = "36" UsedMemoryInMB = "1515" CommittedMemoryInMB = "2048" MaxMemoryInMB = "2048" />

The CommittedMemoryInMB = MaxMemoryInMB = 2048.

which case we can have the UsedMemoryInMB = CommittedMemoryInMB ?

can we have a UsedMemoryInMB = CommittedMemoryInMB ?

Thnaks in advance.
Back to top
View user's profile Send private message
abhi_thri
PostPosted: Tue Jul 23, 2019 10:55 pm    Post subject: Re: ResourceStatistics Reply with quote

Knight

Joined: 17 Jul 2017
Posts: 516
Location: UK

hi...

MKHODER1 wrote:

The CommittedMemoryInMB = MaxMemoryInMB = 2048.


yes, the above is the typical behavior when an OOM error occurs as the JVM has hit the max heap limit and is not able to allocate more memory to the process and fails over.


MKHODER1 wrote:

which case we can have the UsedMemoryInMB = CommittedMemoryInMB ?

can we have a UsedMemoryInMB = CommittedMemoryInMB ?


From my observation the CommittedMemoryInMB always tracks the UsedMemoryInMB at a bit higher value, i.e once the flow starts processing messages and the UsedMemoryInMB starts going up, the JVM alongside increases the CommittedMemoryInMB memory as it assumes that the flow will require similar memory in future. The UsedMemoryInMB may go down for the subsequent messages (eg:- in case those were smaller messages or takes a less memory intensive code path) but the CommittedMemoryInMB usually remains the same. During an OOM scenario where CommittedMemoryInMB is nearing MaxMemoryInMB scenario you could in theory have UsedMemoryInMB approaching CommittedMemoryInMB or ending up the same value...only IBM can confirm this (whether UsedMemoryInMB will ever be the same as CommittedMemoryInMB).

Are you trying to fix an OOM issue or just trying to figure out the various JVM memory params? There are few ibm articles available out there on the best practices when it comes to dealing with memory,

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=2ahUKEwj1g-LW-czjAhXNh1wKHf0YCGYQFjAAegQIAhAC&url=ftp%3A%2F%2Fpublic.dhe.ibm.com%2Fsoftware%2Fintegration%2Fintegrationbus%2Fdocs%2FBP%2FBestPractice02-ReduceMemory.pdf&usg=AOvVaw1favDJ6Oens38Y-aIl741l

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&uact=8&ved=2ahUKEwj77_ar_MzjAhWBVBUIHRDxCTkQFjADegQIABAC&url=https%3A%2F%2Fshare.confex.com%2Fshare%2F124%2Fwebprogram%2FHandout%2FSession17043%2FThe%2520Dos%2520and%2520Donts%2520of%2520IBM%2520Integration%2520Bus%2520Performance%2520-%2520Wed%2520040315%2520315pm.pdf&usg=AOvVaw1cCl3vGkOWB1I58nVG3WS5
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 » mqsichangeflowstats
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.