doc-exports/docs/mrs/umn/ALM-43013.html
Yang, Tong 3b1f73dece MRS UMN 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2022-12-13 12:03:34 +00:00

84 lines
12 KiB
HTML

<a name="ALM-43013"></a><a name="ALM-43013"></a>
<h1 class="topictitle1">ALM-43013 JDBCServer2x Process GC Time Exceeds the Threshold</h1>
<div id="body8662426"><div class="section" id="ALM-43013__sc170f0c4c79c49aab5554aca02966679"><h4 class="sectiontitle">Description</h4><p id="ALM-43013__a57508d56768e4174beaae68b3c514486">The system checks the garbage collection (GC) time of the JDBCServer2x Process every 60 seconds. This alarm is generated when the detected GC time exceeds the threshold (exceeds 5 seconds for three consecutive checks.) To change the threshold, choose <strong id="ALM-43013__b1583981161515">O&amp;M</strong> &gt; <strong id="ALM-43013__b75421215151519">Alarm</strong> &gt; <strong id="ALM-43013__b8704183881315">Thresholds</strong> &gt; <em id="ALM-43013__i968618143612">N</em><em id="ALM-43013__i66862149616">ame of the desired cluster</em> &gt; <strong id="ALM-43013__a4fe57b394f334a598b25db49c9b7ecc6">Spark2x</strong> &gt; <strong id="ALM-43013__b19745439131514">GC Time</strong> &gt; <strong id="ALM-43013__af14bb2b8bae449f791a41d32e178bf94">Total GC time in milliseconds (JDBCServer2x)</strong>. This alarm is cleared when the JDBCServer2x GC time is shorter than or equal to the threshold.</p>
</div>
<div class="section" id="ALM-43013__sfefaac1f4c7241099b32884f1c20c10e"><h4 class="sectiontitle">Attribute</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-43013__tec12d3af675f4633be1f5bd990d8e8e4" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-43013__raddb8e7a5acc467bbfc55e0b4ae6e867"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.1"><p id="ALM-43013__ad70e4a3201674502b148d8ea8f11209f">Alarm ID</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.2"><p id="ALM-43013__aedd4afa3cfae49b4a00c1c473778eaf2">Alarm Severity</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.3"><p id="ALM-43013__a4e6d28e37a664d59aac6172b0bcfead1">Auto Clear</p>
</th>
</tr>
</thead>
<tbody><tr id="ALM-43013__r3c076ad7178c4d4eb32044f9c2441dc8"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.1 "><p id="ALM-43013__af6df5688b2be4303ba05727fff8f58fc">43013</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.2 "><p id="ALM-43013__a4e78d447dc0046ee8770584f06d5db15">Major</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.3 "><p id="ALM-43013__a1cd9f7112b894109b169018e3e7da118">Yes</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ALM-43013__sc7ad608df7a543dfb81b408b7def61aa"><h4 class="sectiontitle">Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-43013__t5e5450c1bb634371a0ebffce0dbd12a7" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-43013__r0bdd4ff1c72c46019eb875d80ce2b05a"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.1"><p id="ALM-43013__a89c3b6c08b3e4748967768598de3a535">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.2"><p id="ALM-43013__a422b2b3250ab49f7955728b0d5dee3c5">Meaning</p>
</th>
</tr>
</thead>
<tbody><tr id="ALM-43013__row226855855313"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-43013__p192431315431">Source</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-43013__p692551319435">Specifies the cluster for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-43013__r6285c451692b47e7b59b67f0dd52f280"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-43013__a8138c38ddd9d43f8b1ad553ab5a7b3f1">ServiceName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-43013__ac03afc97fbfc499990bc84c0e7b3aa17">Specifies the service name for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-43013__rca865be1b5c54b859dc22c575daed158"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-43013__a373ff8660ee24fdd9267087f6f88b0de">RoleName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-43013__a1cfc0aa32c12450f91458bad68c63673">Specifies the role name for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-43013__rc6411e1309fd4cb9a191a3a59aa46ad4"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-43013__ae8468dc26f274fd19a420c520a43c8ad">HostName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-43013__a788b44c61a1f47bdba4bacad8bd5ea64">Specifies the object (host ID) for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-43013__r3901efd87c4649c3bdb451cdc62926d4"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-43013__a23acee17d81a433796cecc761d8b92a9">Trigger Condition</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-43013__a45cb09d0718440f3bec42e0742d6d1ab">Generates an alarm when the actual indicator value exceeds the specified threshold.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ALM-43013__se5c1340da1f54c768a0d31811880940f"><h4 class="sectiontitle">Impact on the System</h4><p id="ALM-43013__ad479954cec7847799b180dddd9ffe620">If the GC time exceeds the threshold, JDBCServer2x maybe run in low performance.</p>
</div>
<div class="section" id="ALM-43013__s9b532bd1dd714d6696e857bdf7a5b982"><h4 class="sectiontitle">Possible Causes</h4><p id="ALM-43013__a12891e79d84c43ebb55cd7e95a20cd2b">The memory of JDBCServer2x is overused, the heap memory is inappropriately allocated. As a result, GCs occur frequently.</p>
</div>
<div class="section" id="ALM-43013__sa63814f2902a4a4f9138a9eb2e640540"><h4 class="sectiontitle">Procedure</h4><p class="tableheading" id="ALM-43013__a3599437da01a4c7cba0609add44e867d"><strong id="ALM-43013__b382116558357">Check the GC time.</strong></p>
<ol id="ALM-43013__ol161375813515"><li id="ALM-43013__li1813558163517"><span>On the FusionInsight Manager portal, choose<strong id="ALM-43013__b9601559151310"> O&amp;M</strong><strong id="ALM-43013__b1688165991316"> &gt; Alarm</strong><strong id="ALM-43013__b27872374104950"> &gt; Alarms</strong> and select the alarm whose <strong id="ALM-43013__a616de197e5354582a259fdf73f79bbe2">ID</strong> is <strong id="ALM-43013__a027bd9fac10740da83d0392eccc55912">43013</strong>. Check the <strong id="ALM-43013__b1955573445015">RoleName</strong> in <strong id="ALM-43013__b052583712505">Location</strong> and confirm the IP address of <strong id="ALM-43013__b1241513413507">HostName</strong>.</span></li><li id="ALM-43013__li141325863510"><span>On the FusionInsight Manager portal, choose <strong id="ALM-43013__b427018721410">Cluster &gt; </strong><em id="ALM-43013__i1027337101419">N</em><em id="ALM-43013__i102731277145">ame of the desired cluster</em> <strong id="ALM-43013__b92711272141">&gt; Services</strong> &gt; <strong id="ALM-43013__a360bdf4fa32741bd8cdacfc709fa6433">Spark2x</strong> &gt; <strong id="ALM-43013__a5a74781631bf446ea33d808a29f189f9">Instance</strong> and click the JDBCServer2x for which the alarm is generated to go to the<strong id="ALM-43013__b14303164441516"> Dashboard </strong>page. Click the drop-down menu in the Chart area and choose<strong id="ALM-43013__b857011131117"> Customize</strong> &gt; <strong id="ALM-43013__b191914419111">GC Time</strong> &gt; <strong id="ALM-43013__ac0005c50fc714fd9b02b9e026f4d0be9">Garbage Collection (GC) Time of JDBCServer2x</strong> from the drop-down list box in the upper right corner and click <strong id="ALM-43013__a64e4b145ba9f402ebabd914e66fe84d7">OK</strong> to check whether the GC time is longer than the threshold(default value: 12 seconds).</span><p><ul class="subitemlist" id="ALM-43013__ud2f1e90bd0804688b25b2a2a7fd849e9"><li id="ALM-43013__l285a24f4c031443589bf1997d99714e7">If yes, go to <a href="#ALM-43013__li187231820103612">3</a>.</li><li id="ALM-43013__l6c5486a2447948c7b825fae1f2220003">If no, go to <a href="#ALM-43013__li1560184215369">6</a>.</li></ul>
</p></li><li class="subitemlist" id="ALM-43013__li187231820103612"><a name="ALM-43013__li187231820103612"></a><a name="li187231820103612"></a><span>On the FusionInsight Manager portal, choose <strong id="ALM-43013__b18375152811147">Cluster &gt; </strong><em id="ALM-43013__i164131228101411">N</em><em id="ALM-43013__i1413192818142">ame of the desired cluster</em><strong id="ALM-43013__b4376162811419"> &gt; Service</strong><strong id="ALM-43013__b13972251434">s</strong> &gt; <strong id="ALM-43013__b12833131723619">Spark2x</strong> &gt; <strong id="ALM-43013__b9834131763618">Configurations</strong>, and click <strong id="ALM-43013__b20837121714363">All</strong> <strong id="ALM-43013__b178381617193618">Configurations</strong>. Choose <strong id="ALM-43013__b17840141713366">JDBCServer2x</strong> &gt; <strong id="ALM-43013__b9840121733613">Default</strong>. The default value of <strong id="ALM-43013__b48414171365">SPARK_DRIVER_MEMORY</strong> is 4 GB. You can change the value according to the following rules: If this alarm is generated occasionally, increase the value by 0.5 times. If the alarm is frequently reported, increase the value by 1 time. In the case of large service volume and high service concurrency, you are advised to add instances.</span></li><li id="ALM-43013__li656515289295"><span>Restart all JDBCServer2x instances.</span></li><li id="ALM-43013__li1013217283368"><span>After 10 minutes, check whether the alarm is cleared.</span><p><ul class="subitemlist" id="ALM-43013__ul21331328193616"><li id="ALM-43013__li11135162853612">If yes, no further action is required.</li><li id="ALM-43013__li18136128143617">If no, go to <a href="#ALM-43013__li1560184215369">6</a>.</li></ul>
</p></li></ol>
<p id="ALM-43013__a50b3e495d99a4b8b8a738d6b4f411d59"><strong id="ALM-43013__b5212123953619">Collect fault information.</strong></p>
<ol start="6" id="ALM-43013__ol46011142133617"><li id="ALM-43013__li1560184215369"><a name="ALM-43013__li1560184215369"></a><a name="li1560184215369"></a><span>On the FusionInsight Manager interface of active and standby clusters, choose <strong id="ALM-43013__b132311812186">O&amp;M</strong> &gt; <strong id="ALM-43013__ac3abc6f3b1274db59336da3769ef826a">Log &gt; Download</strong>.</span></li><li id="ALM-43013__li166016421365"><span>Select <strong id="ALM-43013__b136077228181">Spark2x </strong>in the required cluster from the <strong id="ALM-43013__b10903152471820">Service</strong>.</span></li><li id="ALM-43013__li204727165355"><span>Click <span><img id="ALM-43013__image1945644173117" src="en-us_image_0269417542.png"></span> in the upper right corner, and set <strong id="ALM-43013__b6456941173117">Start Date</strong> and <strong id="ALM-43013__b11456154113318">End Date</strong> for log collection to 10 minutes ahead of and after the alarm generation time, respectively. Then, click <strong id="ALM-43013__b13456164113319">Download</strong>.</span></li><li id="ALM-43013__li14601184243612"><span>Contact the <span id="ALM-43013__text4614151421417">O&amp;M personnel</span> and send the collected logs.</span></li></ol>
</div>
<div class="section" id="ALM-43013__section1529716184534"><h4 class="sectiontitle">Alarm Clearing</h4><p id="ALM-43013__p4677152685316">After the fault is rectified, the system automatically clears this alarm.</p>
</div>
<div class="section" id="ALM-43013__sbaef4dcd76494f5f93bfca97536864a6"><h4 class="sectiontitle">Related Information</h4><p id="ALM-43013__a2811e0013535488a837976a8ddb4e452">None</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1298.html">Alarm Reference (Applicable to MRS 3.x)</a></div>
</div>
</div>