doc-exports/docs/mrs/umn/ALM-45284.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

86 lines
10 KiB
HTML

<a name="ALM-45284"></a><a name="ALM-45284"></a>
<h1 class="topictitle1">ALM-45284 UserSync Garbage Collection (GC) Time Exceeds the Threshold</h1>
<div id="body1605097613349"><div class="section" id="ALM-45284__section8280367"><h4 class="sectiontitle">Description</h4><p id="ALM-45284__p11327101">The system checks the GC duration of the UserSync process every 60 seconds. This alarm is generated when the GC duration of the UserSync process exceeds the threshold (12 seconds by default) for five consecutive times. This alarm is cleared when the GC duration is less than the threshold. </p>
</div>
<div class="section" id="ALM-45284__section7414445"><h4 class="sectiontitle">Attributes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-45284__table45079949" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-45284__row5683496"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.1"><p id="ALM-45284__p57710042">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-45284__p44001849">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-45284__p7380012">Automatically Cleared</p>
</th>
</tr>
</thead>
<tbody><tr id="ALM-45284__row60910108"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.1 "><p id="ALM-45284__p34771696">45284</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.2 "><p id="ALM-45284__p65043985">Major</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.3 "><p id="ALM-45284__p34071398">Yes</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ALM-45284__section66730009"><h4 class="sectiontitle">Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-45284__table8319831" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-45284__row40868022"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.1"><p id="ALM-45284__p21975462">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.2"><p id="ALM-45284__p35182007">Meaning</p>
</th>
</tr>
</thead>
<tbody><tr id="ALM-45284__row594512751512"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-45284__p13858113752316">Source</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-45284__p187931338134115">Cluster for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-45284__row31170320"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-45284__p39123317">ServiceName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-45284__p27766973">Service for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-45284__row48576167"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-45284__p37226997">RoleName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-45284__p8237383">Role for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-45284__row7027591"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-45284__p66118565">HostName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-45284__p4237968">Host for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-45284__row693411015119"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-45284__p15179191519371">Trigger Condition</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-45284__p1517911153376">Threshold for triggering the alarm.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ALM-45284__section63699172"><h4 class="sectiontitle">Impact on the System</h4><p id="ALM-45284__p42193686">UserSync responds slowly.</p>
</div>
<div class="section" id="ALM-45284__section36421639"><h4 class="sectiontitle">Possible Causes</h4><p id="ALM-45284__p62245396">The heap memory of the UserSync instance is overused or the heap memory is inappropriately allocated. As a result, GCs occur frequently. </p>
</div>
<div class="section" id="ALM-45284__section2425015133012"><h4 class="sectiontitle">Procedure</h4><p id="ALM-45284__p8712319"><strong id="ALM-45284__b86352861132237">Check the GC time.</strong></p>
<ol id="ALM-45284__ol11302008"><li id="ALM-45284__li34609214"><span>On FusionInsight Manager, choose <strong id="ALM-45284__b94382349532">O&amp;M</strong> &gt; <strong id="ALM-45284__b1544412346534">Alarm </strong>&gt; <strong id="ALM-45284__b3444534105310">Alarms </strong>&gt; <strong id="ALM-45284__b84445341539">ALM-45284 UserSync Garbage Collection (GC) Time Exceeds the Threshold</strong>. Check the location information of the alarm and view the host name of the instance for which the alarm is generated.</span></li><li id="ALM-45284__li43047473"><a name="ALM-45284__li43047473"></a><a name="li43047473"></a><span>On FusionInsight Manager, choose <strong id="ALM-45284__b157188557531">Cluster </strong>&gt; <strong id="ALM-45284__b10722555115311">Services </strong>&gt; <strong id="ALM-45284__b572315514530">Ranger </strong>&gt; <strong id="ALM-45284__b17723355155316">Instance</strong>. Select the role corresponding to the host name of the instance for which the alarm is generated and click the drop-down list in the upper right corner of the chart area. Choose <strong id="ALM-45284__b472345555317">Customize </strong>&gt; <strong id="ALM-45284__b1372425595316">GC</strong> &gt; <strong id="ALM-45284__b472445545314">UserSync GC Duration</strong>. Click <strong id="ALM-45284__b127240555538">OK</strong>.</span></li><li id="ALM-45284__li51882938"><span>Check whether the GC duration of the UserSync process collected every minute exceeds the threshold (12 seconds by default). </span><p><ul id="ALM-45284__ul64293258"><li id="ALM-45284__li41768410">If yes, go to <a href="#ALM-45284__d0e44388">4</a>.</li><li id="ALM-45284__li27798022">If no, go to <a href="#ALM-45284__d0e44409">6</a>.</li></ul>
</p></li><li id="ALM-45284__d0e44388"><a name="ALM-45284__d0e44388"></a><a name="d0e44388"></a><span>On FusionInsight Manager, choose <strong id="ALM-45284__b8437143195519">Cluster </strong>&gt; <strong id="ALM-45284__b843874305515">Services </strong>&gt; <strong id="ALM-45284__b84389433557">Ranger </strong>&gt; <strong id="ALM-45284__b7439194318559">Instance </strong>&gt; <strong id="ALM-45284__b174391443195517">UserSync </strong>&gt; <strong id="ALM-45284__b5439443205516">Instance Configuration</strong>. Click <strong id="ALM-45284__b16439643155515">All Configurations</strong>, and choose <strong id="ALM-45284__b184404436556">UserSync </strong>&gt; <strong id="ALM-45284__b2440943135519">System</strong>. Increase the value of <strong id="ALM-45284__b11254749115517">-Xmx </strong>in the <strong id="ALM-45284__b2025410498552">GC_OPTS </strong>parameter based on the site requirements and save the configuration.</span><p><div class="note" id="ALM-45284__note1572143455414"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="ALM-45284__p65732349545">If this alarm is generated, the heap memory configured for UserSync cannot meet the heap memory required by the UserSync process. You are advised to change the value of <strong id="ALM-45284__b163795110556">GC_OPTS</strong> to the twice that of the heap memory used by UserSync. You can change the value based on the actual service scenario. For details about how to check the UserSync heap memory usage, see <a href="#ALM-45284__li43047473">2</a>.</p>
</div></div>
</p></li><li id="ALM-45284__li64990567"><span>Restart the affected services or instances and check whether the alarm is cleared.</span><p><ul id="ALM-45284__ul48044197"><li id="ALM-45284__li29744594">If yes, no further action is required.</li><li id="ALM-45284__li66374759">If no, go to <a href="#ALM-45284__d0e44409">6</a>.</li></ul>
</p></li></ol>
<p id="ALM-45284__p7646422"><strong id="ALM-45284__b39997837113153">Collect the fault information.</strong></p>
<ol start="6" id="ALM-45284__ol22406895113157"><li id="ALM-45284__d0e44409"><a name="ALM-45284__d0e44409"></a><a name="d0e44409"></a><span>On FusionInsight Manager, choose <strong id="ALM-45284__b22027207732237">O&amp;M</strong> &gt; <strong id="ALM-45284__b213508734632237">Log</strong> &gt; <strong id="ALM-45284__b170187505032237">Download</strong>.</span></li><li id="ALM-45284__li4206246"><span>Expand the <strong id="ALM-45284__b9359692832237">Service</strong> drop-down list, and select <strong id="ALM-45284__b210235075432237">Ranger</strong> for the target cluster.</span></li><li id="ALM-45284__li37856217"><span>Click <span><img id="ALM-45284__image104601319175315" src="en-us_image_0293267262.png"></span> in the upper right corner, and set <strong id="ALM-45284__b17841310175618">Start Date</strong> and <strong id="ALM-45284__b14842131016566">End Date</strong> for log collection to 10 minutes ahead of and after the alarm generation time, respectively. Then, click <strong id="ALM-45284__b1684201065617">Download</strong>.</span></li><li id="ALM-45284__li5161635"><span>Contact <span id="ALM-45284__text126301214142412">O&amp;M personnel</span> and provide the collected logs.</span></li></ol>
</div>
<div class="section" id="ALM-45284__section169311343318"><h4 class="sectiontitle">Alarm Clearing</h4><p id="ALM-45284__p754913417333">After the fault that triggers the alarm is rectified, the alarm is automatically cleared.</p>
</div>
<div class="section" id="ALM-45284__section53362350"><h4 class="sectiontitle">Related Information</h4><p id="ALM-45284__p7522741">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>