Files
doc-exports/docs/mrs/umn/ALM-45282.html
Yang, Tong 2195db241c MRS UMN 20231220 version update
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2024-05-16 09:40:21 +00:00

86 lines
11 KiB
HTML

<a name="ALM-45282"></a><a name="ALM-45282"></a>
<h1 class="topictitle1">ALM-45282 UserSync Direct Memory Usage Exceeds the Threshold</h1>
<div id="body1605097613349"><div class="section" id="ALM-45282__section35136898"><h4 class="sectiontitle">Description</h4><p id="ALM-45282__p19775813">The system checks the direct memory usage of the UserSync service every 60 seconds. This alarm is generated when the direct memory usage of the UserSync instance exceeds the threshold (80% of the maximum memory) for five consecutive times. This alarm is cleared when the UserSync direct memory usage is less than or equal to the threshold.</p>
</div>
<div class="section" id="ALM-45282__section47796626"><h4 class="sectiontitle">Attribute</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-45282__table58337011" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-45282__row62299817"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.1.4.1.1"><p id="ALM-45282__p13120377">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-45282__p56117589">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-45282__p49230886">Auto Clear</p>
</th>
</tr>
</thead>
<tbody><tr id="ALM-45282__row28278868"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.1 "><p id="ALM-45282__p8886982">45282</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.2 "><p id="ALM-45282__p48756965">Major</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.1.4.1.3 "><p id="ALM-45282__p57000088">Yes</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ALM-45282__section27516457"><h4 class="sectiontitle">Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-45282__table53604424" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-45282__row30968229"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.1"><p id="ALM-45282__p25398627">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.3.2.1.3.1.2"><p id="ALM-45282__p44022946">Meaning</p>
</th>
</tr>
</thead>
<tbody><tr id="ALM-45282__row1083384091512"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-45282__p13858113752316">Source</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-45282__p187931338134115">Specifies the cluster for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-45282__row9088906"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-45282__p39123317">ServiceName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-45282__p39642994">Specifies the service for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-45282__row21242631"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-45282__p37226997">RoleName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-45282__p54903620">Specifies the role for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-45282__row24370534"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-45282__p66118565">HostName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-45282__p41764972">Specifies the host for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-45282__row6686193765015"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.1 "><p id="ALM-45282__p15179191519371">Trigger Condition</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.3.2.1.3.1.2 "><p id="ALM-45282__p1517911153376">Specifies the threshold for triggering the alarm.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ALM-45282__section46321527"><h4 class="sectiontitle">Impact on the System</h4><p id="ALM-45282__p27494118">Direct memory overflow may cause service breakdown.</p>
</div>
<div class="section" id="ALM-45282__section14240565"><h4 class="sectiontitle">Possible Causes</h4><p id="ALM-45282__p12431106">The direct memory of the UserSync instance is overused or the direct memory is inappropriately allocated. As a result, the memory usage exceeds the threshold.</p>
</div>
<div class="section" id="ALM-45282__section168730599458"><h4 class="sectiontitle">Procedure</h4><p id="ALM-45282__p286699"><strong id="ALM-45282__b12782988633242">Check the direct memory usage.</strong></p>
<ol id="ALM-45282__ol2580296"><li id="ALM-45282__li23222664"><span>On <span id="ALM-45282__text34789336432">MRS</span> Manager, choose <strong id="ALM-45282__b638204254117">O&amp;M</strong> &gt; <strong id="ALM-45282__b1261214432419">Alarm </strong>&gt; <strong id="ALM-45282__b14294164584118">Alarms </strong>&gt; <strong id="ALM-45282__b947875274111">ALM-45282 UserSync Direct Memory Usage Exceeds the Threshold</strong>. Check the location information of the alarm. Check the name of the instance host for which the alarm is generated.</span></li><li id="ALM-45282__li7677390"><a name="ALM-45282__li7677390"></a><a name="li7677390"></a><span>On <span id="ALM-45282__text550491216217">MRS</span> Manager, choose <strong id="ALM-45282__b1269886144219">Cluster </strong>&gt; <strong id="ALM-45282__b1170311664215">Services </strong>&gt; <strong id="ALM-45282__b187031867422">Ranger </strong>&gt; <strong id="ALM-45282__b1170496104219">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-45282__b970426174218">Customize </strong>&gt; <strong id="ALM-45282__b10704667425">CPU and Memory</strong> &gt; <strong id="ALM-45282__b570412614215">UserSync Direct Memory Usage</strong>. Click <strong id="ALM-45282__b1070556184212">OK</strong>.</span></li><li id="ALM-45282__li1987650"><span>Check whether the direct memory used by the UserSync reaches the threshold (80% of the maximum direct memory by default).</span><p><ul id="ALM-45282__ul17888853"><li id="ALM-45282__li26781952">If yes, go to <a href="#ALM-45282__li10450762161055">4</a>.</li><li id="ALM-45282__li21854507">If no, go to <a href="#ALM-45282__d0e43963">6</a>.</li></ul>
</p></li><li id="ALM-45282__li10450762161055"><a name="ALM-45282__li10450762161055"></a><a name="li10450762161055"></a><span>On <span id="ALM-45282__text069801310216">MRS</span> Manager, choose <strong id="ALM-45282__b1687564110422">Cluster </strong>&gt; <strong id="ALM-45282__b1688118418422">Services </strong>&gt; <strong id="ALM-45282__b1888174111428">Ranger </strong>&gt; <strong id="ALM-45282__b2881174118426">Instance </strong>&gt; <strong id="ALM-45282__b1088214117422">UserSync </strong>&gt; <strong id="ALM-45282__b17882164154215">Instance Configuration</strong>. Click <strong id="ALM-45282__b9882941194210">All Configurations</strong>, and choose <strong id="ALM-45282__b98821341184216">UserSync </strong>&gt; <strong id="ALM-45282__b1883174164211">System</strong>. Increase the value of <strong id="ALM-45282__b1850574514425">-XX:MaxDirectMemorySize</strong> in the <strong id="ALM-45282__b950564524215">GC_OPTS</strong> parameter based on the site requirements and save the configuration.</span><p><div class="note" id="ALM-45282__note1572143455414"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="ALM-45282__p65732349545">If this alarm is generated, the direct memory configured for UserSync cannot meet the direct memory required by the UserSync process. You are advised to check the direct memory usage of UserSync and change the value of <strong id="ALM-45282__b1186318247383">-XX:MaxDirectMemorySize</strong> in <strong id="ALM-45282__b16982747124317">GC_OPTS</strong> to the twice of the direct memory used by UserSync. You can change the value based on the actual service scenario. For details, see <a href="#ALM-45282__li7677390">2</a>.</p>
</div></div>
</p></li><li id="ALM-45282__li27134973"><span>Restart the affected services or instances and check whether the alarm is cleared.</span><p><ul id="ALM-45282__ul42888166"><li id="ALM-45282__li50449174">If yes, no further action is required.</li><li id="ALM-45282__li51389382">If no, go to <a href="#ALM-45282__d0e43963">6</a>.</li></ul>
</p></li></ol>
<p id="ALM-45282__p1790386"><strong id="ALM-45282__b46521598112720">Collect the fault information.</strong></p>
<ol start="6" id="ALM-45282__ol58212157112724"><li id="ALM-45282__d0e43963"><a name="ALM-45282__d0e43963"></a><a name="d0e43963"></a><span>On <span id="ALM-45282__text82461592115">MRS</span> Manager, choose <strong id="ALM-45282__b1596552916207">O&amp;M</strong>. In the navigation pane on the left, choose <strong id="ALM-45282__b4976129162010">Log</strong> &gt; <strong id="ALM-45282__b20982162952014">Download</strong>.</span></li><li id="ALM-45282__li30123571"><span>Expand the <strong id="ALM-45282__b18344357433242">Service</strong> drop-down list, and select <strong id="ALM-45282__b15247360433242">Ranger</strong> for the target cluster.</span></li><li id="ALM-45282__li2676689"><span>Click <span><img id="ALM-45282__image104601319175315" src="en-us_image_0000001532448142.png"></span> in the upper right corner, and set <strong id="ALM-45282__b8761535973242">Start Date</strong> and <strong id="ALM-45282__b11953860413242">End Date</strong> for log collection to 10 minutes ahead of and after the alarm generation time, respectively. Then, click <strong id="ALM-45282__b1369086013242">Download</strong>.</span></li><li id="ALM-45282__li24090206"><span>Contact <span id="ALM-45282__text1228247193910">O&amp;M personnel</span> and provide the collected logs.</span></li></ol>
</div>
<div class="section" id="ALM-45282__section169311343318"><h4 class="sectiontitle">Alarm Clearing</h4><p id="ALM-45282__p754913417333">This alarm is automatically cleared after the fault is rectified.</p>
</div>
<div class="section" id="ALM-45282__section53362350"><h4 class="sectiontitle">Related Information</h4><p id="ALM-45282__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>