Author |
Message
|
MKHODER1 |
Posted: Fri Jun 07, 2019 1:47 am Post subject: mqsichangeflowstats |
|
|
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 |
|
 |
fjb_saper |
Posted: Fri Jun 07, 2019 6:06 am Post subject: Re: mqsichangeflowstats |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
MKHODER1 |
Posted: Thu Jul 18, 2019 1:21 am Post subject: |
|
|
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 |
|
 |
abhi_thri |
Posted: Thu Jul 18, 2019 6:15 am Post subject: |
|
|
 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 |
|
 |
MKHODER1 |
Posted: Tue Jul 23, 2019 3:23 am Post subject: ResourceStatistics |
|
|
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 |
|
 |
abhi_thri |
Posted: Tue Jul 23, 2019 10:55 pm Post subject: Re: ResourceStatistics |
|
|
 Knight
Joined: 17 Jul 2017 Posts: 516 Location: UK
|
|
Back to top |
|
 |
|