<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: SERVICE_MONITOR_AGGREGATION_RUN_DURATION has become bad in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/SERVICE-MONITOR-AGGREGATION-RUN-DURATION-has-become-bad/m-p/307525#M223239</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/83434"&gt;@Raj77&lt;/a&gt;&amp;nbsp;Your Service Monitor is running out of Java Heap hence the issue:&lt;/P&gt;&lt;PRE&gt;JvmPauseMonitor	Detected pause in JVM or host machine (e.g. a stop the world GC, or JVM not scheduled): paused approximately 18430ms: no GCs detected.&lt;/PRE&gt;&lt;P&gt;So please increase the Java heap size for SMON to resolve the issue. Refer the Requirements here for Heap size: &lt;A href="https://docs.cloudera.com/cloudera-manager/7.2.1/managing-clusters/topics/cm-configuring-memory-allocations.html&amp;nbsp;" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/cloudera-manager/7.2.1/managing-clusters/topics/cm-configuring-memory-allocations.html&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Dec 2020 16:20:07 GMT</pubDate>
    <dc:creator>GangWar</dc:creator>
    <dc:date>2020-12-11T16:20:07Z</dc:date>
    <item>
      <title>SERVICE_MONITOR_AGGREGATION_RUN_DURATION has become bad</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SERVICE-MONITOR-AGGREGATION-RUN-DURATION-has-become-bad/m-p/307520#M223235</link>
      <description>&lt;LI-CODE lang="markup"&gt;SERVICE_MONITOR_AGGREGATION_RUN_DURATION


The health test result for SERVICE_MONITOR_AGGREGATION_RUN_DURATION has become bad: The last metrics aggregation run duration is 33.9 second(s). Critical threshold: 30 second(s).

 &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Service Monitor  File /var/log/cloudera-scm-firehose/mgmt-cmf-mgmt-SERVICEMONITOR.log.out


8:35:51.569 PM	WARN	Groups	Potential performance problem: getGroups(user=hue) took 8024 milliseconds.

8:36:21.270 PM	WARN	JvmPauseMonitor	Detected pause in JVM or host machine (e.g. a stop the world GC, or JVM not scheduled): paused approximately 18430ms: no GCs detected.

8:36:21.558 PM	WARN	EnterpriseService com.cloudera.cmf.PollingScmProxy: run duration exceeded desired period. Duration: 19230 ms. Desired period: 1000 ms.

8:36:22.253 PM	INFO	AggregatingTimeSeriesStore Run took PT33.916S which is over the slow run threshold of PT30S. 15690 metrics written for 28 entities. PT27.952S write time over 2 writes. Longest writes: PT27.876S,PT0.076S.

8:37:02.720 PM	INFO LDBPartitionManager Updating partition=LDBPartitionMetadataWrapper{tableName=stream, partitionName=stream_2020-12-10T17:48:01.580Z, startTime=2020-12-10T17:48:01.580Z, endTime=null, version=2, state=OPEN}. Setting endTime=2020-12-10T18:38:02.709Z&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Metrics Aggregation Run Duration Thresholds  

critical:30000.0,      warning:10000.0


present we are using default values in my cluster. any changes required for this values. else any other issue is there in my cluster.&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 11 Dec 2020 14:46:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SERVICE-MONITOR-AGGREGATION-RUN-DURATION-has-become-bad/m-p/307520#M223235</guid>
      <dc:creator>Raj77</dc:creator>
      <dc:date>2020-12-11T14:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: SERVICE_MONITOR_AGGREGATION_RUN_DURATION has become bad</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SERVICE-MONITOR-AGGREGATION-RUN-DURATION-has-become-bad/m-p/307525#M223239</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/83434"&gt;@Raj77&lt;/a&gt;&amp;nbsp;Your Service Monitor is running out of Java Heap hence the issue:&lt;/P&gt;&lt;PRE&gt;JvmPauseMonitor	Detected pause in JVM or host machine (e.g. a stop the world GC, or JVM not scheduled): paused approximately 18430ms: no GCs detected.&lt;/PRE&gt;&lt;P&gt;So please increase the Java heap size for SMON to resolve the issue. Refer the Requirements here for Heap size: &lt;A href="https://docs.cloudera.com/cloudera-manager/7.2.1/managing-clusters/topics/cm-configuring-memory-allocations.html&amp;nbsp;" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/cloudera-manager/7.2.1/managing-clusters/topics/cm-configuring-memory-allocations.html&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 16:20:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SERVICE-MONITOR-AGGREGATION-RUN-DURATION-has-become-bad/m-p/307525#M223239</guid>
      <dc:creator>GangWar</dc:creator>
      <dc:date>2020-12-11T16:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: SERVICE_MONITOR_AGGREGATION_RUN_DURATION has become bad</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SERVICE-MONITOR-AGGREGATION-RUN-DURATION-has-become-bad/m-p/307549#M223256</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My cluster Java Heap memory values kindly please check this values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1.png" style="width: 865px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29757iE430EBF6A07EE9A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1.png" style="width: 771px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29758i1FAD76E1CBAECBBC/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; Raj@77  Your Service Monitor is running out of Java Heap hence the issue:



where can i found exact location of service monitor using java heap memory value. is there any specific requirement for service monitor Java Heap value.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any issue.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; /etc/default/cloudera-scm-server


 Java Options.
#
# Default value sets Java maximum heap size to 2GB, and Java maximum permanent
# generation size to 256MB.
#

export CMF_JAVA_OPTS="-Xmx2G -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Heap size:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.cloudera.com/cloudera-manager/7.2.1/managing-clusters/topics/cm-configuring-memory-allocations.html%C2%A0" target="_blank" rel="noopener noopener noreferrer"&gt;https://docs.cloudera.com/cloudera-manager/7.2.1/managing-clusters/topics/cm-configuring-memory-allo...&lt;/A&gt;&amp;nbsp; &amp;nbsp; Link is not working&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2020 04:41:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SERVICE-MONITOR-AGGREGATION-RUN-DURATION-has-become-bad/m-p/307549#M223256</guid>
      <dc:creator>Raj77</dc:creator>
      <dc:date>2020-12-12T04:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: SERVICE_MONITOR_AGGREGATION_RUN_DURATION has become bad</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SERVICE-MONITOR-AGGREGATION-RUN-DURATION-has-become-bad/m-p/307652#M223284</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/83434"&gt;@Raj77&lt;/a&gt;&amp;nbsp;You have to go CM &amp;gt; Cloudera Management Services &amp;gt; Configuration &amp;gt; Then Form category filter select Service Monitor&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you can just search for Heap size and you will get SMON heap size there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pasting The Link again:&amp;nbsp;&lt;A href="https://docs.cloudera.com/cloudera-manager/7.2.1/managing-clusters/topics/cm-configuring-memory-allocations.html" target="_blank"&gt;https://docs.cloudera.com/cloudera-manager/7.2.1/managing-clusters/topics/cm-configuring-memory-allocations.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 09:37:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SERVICE-MONITOR-AGGREGATION-RUN-DURATION-has-become-bad/m-p/307652#M223284</guid>
      <dc:creator>GangWar</dc:creator>
      <dc:date>2020-12-14T09:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: SERVICE_MONITOR_AGGREGATION_RUN_DURATION has become bad</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SERVICE-MONITOR-AGGREGATION-RUN-DURATION-has-become-bad/m-p/410524#M252879</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here it's the link&lt;BR /&gt;&lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.1.9/managing-clusters/topics/cm-configuring-memory-allocations.html" target="_blank"&gt;https://docs.cloudera.com/cdp-private-cloud-base/7.1.9/managing-clusters/topics/cm-configuring-memory-allocations.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 17:57:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SERVICE-MONITOR-AGGREGATION-RUN-DURATION-has-become-bad/m-p/410524#M252879</guid>
      <dc:creator>chuvalski</dc:creator>
      <dc:date>2025-06-17T17:57:09Z</dc:date>
    </item>
  </channel>
</rss>

