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

85 lines
10 KiB
HTML

<a name="ALM-45281"></a><a name="ALM-45281"></a>
<h1 class="topictitle1">ALM-45281 UserSync Heap Memory Usage Exceeds the Threshold</h1>
<div id="body1605097613349"><div class="section" id="ALM-45281__section61130422"><h4 class="sectiontitle">Description</h4><p id="ALM-45281__p14504164">The system checks the heap memory usage of the UserSync service every 60 seconds. This alarm is generated when the system detects that the heap memory usage of the UserSync instance exceeds the threshold (95% of the maximum memory) for 10 consecutive times. This alarm is cleared when the heap memory usage is less than the threshold.</p>
</div>
<div class="section" id="ALM-45281__section13302888"><h4 class="sectiontitle">Attribute</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-45281__table33986641" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-45281__row13879140"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.1"><p id="ALM-45281__p50468531">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-45281__p61419199">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-45281__p8899183">Auto Clear</p>
</th>
</tr>
</thead>
<tbody><tr id="ALM-45281__row49745195"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.1 "><p id="ALM-45281__p2829020">45281</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.2 "><p id="ALM-45281__p27824106">Major</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.3 "><p id="ALM-45281__p39160124">Yes</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ALM-45281__section52617132"><h4 class="sectiontitle">Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-45281__table17853499" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-45281__row18143824"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.1"><p id="ALM-45281__p60363621">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.2"><p id="ALM-45281__p57615147">Meaning</p>
</th>
</tr>
</thead>
<tbody><tr id="ALM-45281__row13401184712152"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-45281__p13858113752316">Source</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-45281__p187931338134115">Specifies the cluster for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-45281__row36315337"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-45281__p39123317">ServiceName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-45281__p28465328">Specifies the service for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-45281__row54861362"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-45281__p37226997">RoleName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-45281__p40562973">Specifies the role for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-45281__row29522441"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-45281__p66118565">HostName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-45281__p20557292">Specifies the host for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-45281__row947315290501"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-45281__p15179191519371">Trigger Condition</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-45281__p1517911153376">Specifies the threshold for triggering the alarm.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ALM-45281__section3792148"><h4 class="sectiontitle">Impact on the System</h4><p id="ALM-45281__p6696265">Heap memory overflow may cause service breakdown.</p>
</div>
<div class="section" id="ALM-45281__section34129336"><h4 class="sectiontitle">Possible Causes</h4><p id="ALM-45281__p5526629">The heap memory usage of the UserSync instance is high or the heap memory is improperly allocated.</p>
</div>
<div class="section" id="ALM-45281__section722974218354"><h4 class="sectiontitle">Procedure</h4><ol id="ALM-45281__ol2380770"><li id="ALM-45281__li21426936"><span>On FusionInsight Manager, choose <strong id="ALM-45281__b6907185563211">O&amp;M</strong> &gt; <strong id="ALM-45281__b3912055183219">Alarm </strong>&gt; <strong id="ALM-45281__b09131655133219">Alarms </strong>&gt; <strong id="ALM-45281__b1891375513325">ALM-45281 UserSync Heap Memory Usage 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-45281__li58624704"><a name="ALM-45281__li58624704"></a><a name="li58624704"></a><span>On FusionInsight Manager, choose <strong id="ALM-45281__b8478103710336">Cluster </strong>&gt; <strong id="ALM-45281__b13479037103317">Services </strong>&gt; <strong id="ALM-45281__b8479143763316">Ranger </strong>&gt; <strong id="ALM-45281__b16479193713312">Instance</strong>. Select the role corresponding to the host name of the instance for which the alarm is generated. Click the drop-down list in the upper right corner of the chart area and choose <strong id="ALM-45281__b047917376333">Customize </strong>&gt; <strong id="ALM-45281__b8480183711332">CPU and Memory</strong> &gt; <strong id="ALM-45281__b1648023713315">UserSync Heap Memory Usage</strong>. Click <strong id="ALM-45281__b348023703315">OK</strong>.</span></li><li id="ALM-45281__li57860289"><span>Check whether the heap memory used by UserSync reaches the threshold (95% of the maximum heap memory by default).</span><p><ul id="ALM-45281__ul50980558"><li id="ALM-45281__li56171838">If yes, go to <a href="#ALM-45281__li11521246145513">4</a>.</li><li id="ALM-45281__li53625048">If no, go to <a href="#ALM-45281__li42224042151734">6</a>.</li></ul>
</p></li><li id="ALM-45281__li11521246145513"><a name="ALM-45281__li11521246145513"></a><a name="li11521246145513"></a><span>On FusionInsight Manager, choose <strong id="ALM-45281__b054121613419">Cluster </strong>&gt; <strong id="ALM-45281__b1755171615348">Services </strong>&gt; <strong id="ALM-45281__b0552163341">Ranger </strong>&gt; <strong id="ALM-45281__b955101610341">Instance </strong>&gt; <strong id="ALM-45281__b1156191618343">UserSync </strong>&gt; <strong id="ALM-45281__b456131653411">Instance Configuration</strong>. Click <strong id="ALM-45281__b55631614345">All Configurations</strong>, and choose <strong id="ALM-45281__b65610161345">UserSync </strong>&gt; <strong id="ALM-45281__b105718161341">System</strong>. Increase the value of <strong id="ALM-45281__b1872520376341">-Xmx </strong>in the <strong id="ALM-45281__b673015379340">GC_OPTS </strong>parameter based on the site requirements and save the configuration.</span><p><div class="note" id="ALM-45281__note1572143455414"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="ALM-45281__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 <strong id="ALM-45281__b48606497364">-Xmx</strong> value of <strong id="ALM-45281__b1977314139377">GC_OPTS</strong> to 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-45281__li58624704">2</a>.</p>
</div></div>
</p></li><li id="ALM-45281__li35301418"><span>Restart the affected services or instances and check whether the alarm is cleared.</span><p><ul id="ALM-45281__ul49277313"><li id="ALM-45281__li40842634">If yes, no further action is required.</li><li id="ALM-45281__li32039392">If no, go to <a href="#ALM-45281__li42224042151734">6</a>.</li></ul>
</p></li></ol>
<p id="ALM-45281__p45053948"><strong id="ALM-45281__b35235717112450">Collect the fault information.</strong></p>
<ol start="6" id="ALM-45281__ol41031367112456"><li id="ALM-45281__li42224042151734"><a name="ALM-45281__li42224042151734"></a><a name="li42224042151734"></a><span>On FusionInsight Manager, choose <strong id="ALM-45281__b1315115063213">O&amp;M</strong>. In the navigation pane on the left, choose <strong id="ALM-45281__b315270193216">Log</strong> &gt; <strong id="ALM-45281__b14153100153211">Download</strong>.</span></li><li id="ALM-45281__li28093597"><span>Expand the <strong id="ALM-45281__b178038697632115">Service</strong> drop-down list, and select <strong id="ALM-45281__b84423536632115">Ranger</strong> for the target cluster.</span></li><li id="ALM-45281__li51515784"><span>Click <span><img id="ALM-45281__image104601319175315" src="en-us_image_0293246731.png"></span> in the upper right corner, and set <strong id="ALM-45281__b190366022332115">Start Date</strong> and <strong id="ALM-45281__b4077444432115">End Date</strong> for log collection to 10 minutes ahead of and after the alarm generation time, respectively. Then, click <strong id="ALM-45281__b45068859632115">Download</strong>.</span></li><li id="ALM-45281__li60988879"><span>Contact <span id="ALM-45281__text126301214142412">O&amp;M personnel</span> and provide the collected logs.</span></li></ol>
</div>
<div class="section" id="ALM-45281__section169311343318"><h4 class="sectiontitle">Alarm Clearing</h4><p id="ALM-45281__p754913417333">This alarm is automatically cleared after the fault is rectified.</p>
</div>
<div class="section" id="ALM-45281__section53362350"><h4 class="sectiontitle">Related Information</h4><p id="ALM-45281__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>