Files
doc-exports/docs/mrs/umn/ALM-45290.html
Yang, Tong 5914b67d13 MRS UMN Doc 20240802 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2024-09-28 19:04:58 +00:00

91 lines
12 KiB
HTML

<a name="ALM-45290"></a><a name="ALM-45290"></a>
<h1 class="topictitle1">ALM-45290 PolicySync Direct Memory Usage Exceeds the Threshold</h1>
<div id="body18594423"><div class="note" id="ALM-45290__note14744151615401"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="ALM-45290__p1431519566">This section applies only to MRS 3.3.0 or later.</p>
</div></div>
<div class="section" id="ALM-45290__section35136898"><h4 class="sectiontitle"><span id="ALM-45290__text14838183534515">Alarm Description</span></h4><p id="ALM-45290__p19775813">The system checks the direct memory usage of the PolicySync service every 60 seconds. This alarm is generated when the direct memory usage of the PolicySync instance exceeds the threshold (90% of the maximum memory) for five consecutive times. This alarm is cleared when the PolicySync direct memory usage is less than or equal to the threshold.</p>
</div>
<div class="section" id="ALM-45290__section47796626"><h4 class="sectiontitle"><span id="ALM-45290__text66488119489">Alarm Attributes</span></h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-45290__table58337011" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-45290__row62299817"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.1.4.1.1"><p id="ALM-45290__p13120377"><span id="ALM-45290__text1074744511529">Alarm ID</span></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.1.4.1.2"><p id="ALM-45290__p56117589"><span id="ALM-45290__text529420513457">Alarm Severity</span></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.1.4.1.3"><p id="ALM-45290__p49230886"><span id="ALM-45290__text139206232502">Auto Cleared</span></p>
</th>
</tr>
</thead>
<tbody><tr id="ALM-45290__row28278868"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.1.4.1.1 "><p id="ALM-45290__p8886982">45290</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.1.4.1.2 "><p id="ALM-45290__p48756965">Major</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.1.4.1.3 "><p id="ALM-45290__p57000088">Yes</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ALM-45290__section27516457"><h4 class="sectiontitle"><span id="ALM-45290__text0580183514489">Alarm Parameters</span></h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-45290__table53604424" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-45290__row30968229"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.2.1.3.1.1"><p id="ALM-45290__p25398627"><span id="ALM-45290__text12210145419505">Parameter</span></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.2.1.3.1.2"><p id="ALM-45290__p44022946"><span id="ALM-45290__text1971012173566">Description</span></p>
</th>
</tr>
</thead>
<tbody><tr id="ALM-45290__row1083384091512"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.1 "><p id="ALM-45290__p13858113752316">Source</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.2 "><p id="ALM-45290__p187931338134115">Specifies the cluster for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-45290__row9088906"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.1 "><p id="ALM-45290__p39123317">ServiceName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.2 "><p id="ALM-45290__p39642994">Specifies the service for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-45290__row21242631"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.1 "><p id="ALM-45290__p37226997">RoleName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.2 "><p id="ALM-45290__p54903620">Specifies the role for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-45290__row24370534"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.1 "><p id="ALM-45290__p66118565">HostName</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.2 "><p id="ALM-45290__p41764972">Specifies the host for which the alarm is generated.</p>
</td>
</tr>
<tr id="ALM-45290__row5383818185117"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.1 "><p id="ALM-45290__p15179191519371">Trigger Condition</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.2 "><p id="ALM-45290__p1517911153376">Specifies the threshold for triggering the alarm.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="ALM-45290__section46321527"><h4 class="sectiontitle"><span id="ALM-45290__text1127833410585">Impact on the System</span></h4><p id="ALM-45290__p27494118">Direct memory overflow may cause service breakdown.</p>
</div>
<div class="section" id="ALM-45290__section14240565"><h4 class="sectiontitle"><span id="ALM-45290__text10245783115">Possible Causes</span></h4><p id="ALM-45290__p12431106">The direct memory of the PolicySync process is overused or the direct memory is inappropriately allocated.</p>
</div>
<div class="section" id="ALM-45290__section912459145314"><h4 class="sectiontitle"><span id="ALM-45290__text35421632154">Handling Procedure</span></h4><p id="ALM-45290__p286699"><strong id="ALM-45290__b3633994112659">Check the direct memory usage.</strong></p>
<ol id="ALM-45290__ol2580296"><li id="ALM-45290__li23222664"><span>Log in to FusionInsight Manager and choose <strong id="ALM-45290__b1068562411310">O&amp;M</strong> &gt; <strong id="ALM-45290__b1368612242133">Alarm </strong>&gt; <strong id="ALM-45290__b46864240134">Alarms </strong>&gt; <strong id="ALM-45290__b6686924151310">ALM-45290 PolicySync Direct 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-45290__li7677390"><a name="ALM-45290__li7677390"></a><a name="li7677390"></a><span>On FusionInsight Manager, choose <strong id="ALM-45290__b1072614211134">Cluster </strong>&gt; <strong id="ALM-45290__b77271842161316">Services </strong>&gt; <strong id="ALM-45290__b12727942131314">Ranger </strong>&gt; <strong id="ALM-45290__b172764219135">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-45290__b19728184210138">Customize </strong>&gt; <strong id="ALM-45290__b37282042151315">CPU and Memory</strong> &gt; <strong id="ALM-45290__b2728154211318">PolicySync Direct Memory Usage</strong>. Click <strong id="ALM-45290__b16728442141311">OK</strong>.</span></li><li id="ALM-45290__li1987650"><span>Check whether the direct memory used by the PolicySync reaches the threshold (90% of the maximum direct memory by default).</span><p><ul id="ALM-45290__ul17888853"><li id="ALM-45290__li26781952">If yes, go to <a href="#ALM-45290__li10450762161055">4</a>.</li><li id="ALM-45290__li21854507">If no, go to <a href="#ALM-45290__d0e43963">6</a>.</li></ul>
</p></li><li id="ALM-45290__li10450762161055"><a name="ALM-45290__li10450762161055"></a><a name="li10450762161055"></a><span>On FusionInsight Manager, choose <strong id="ALM-45290__b0657119154114">Cluster </strong>&gt; <strong id="ALM-45290__b765718974117">Services </strong>&gt; <strong id="ALM-45290__b76583964115">Ranger </strong>&gt; <strong id="ALM-45290__b76581994118">Instance </strong>&gt; <strong id="ALM-45290__b86581934115">PolicySync</strong>. Click <strong id="ALM-45290__b1465813974113">Instance Configuration</strong> and then <strong id="ALM-45290__b5658189114110">All Configurations</strong>, and choose <strong id="ALM-45290__b116583910419">PolicySync </strong>&gt; <strong id="ALM-45290__b965811917411">System</strong>. Set <strong id="ALM-45290__b2441912174119">-XX:MaxDirectMemorySize</strong> in the <strong id="ALM-45290__b64411312184116">GC_OPTS</strong> parameter to a larger value based on site requirements and save the configuration.</span><p><div class="note" id="ALM-45290__note1572143455414"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="ALM-45290__p65732349545">If this alarm is generated, the direct memory configured for PolicySync cannot meet the direct memory required by the PolicySync process. You are advised to check the direct memory usage of PolicySync and change the value of <strong id="ALM-45290__b8117183116548">-XX:MaxDirectMemorySize</strong> in <strong id="ALM-45290__b3118203110542">GC_OPTS</strong> to the twice of the direct memory used by PolicySync. You can change the value based on the actual service scenario. Refer to <a href="#ALM-45290__li7677390">2</a> to view the TokenServer direct memory usage.</p>
</div></div>
</p></li><li id="ALM-45290__li27134973"><span>Restart the affected services or instances and check whether the alarm is cleared.</span><p><ul id="ALM-45290__ul42888166"><li id="ALM-45290__li50449174">If yes, no further action is required.</li><li id="ALM-45290__li51389382">If no, go to <a href="#ALM-45290__d0e43963">6</a>.<div class="notice" id="ALM-45290__note88641929172117"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="ALM-45290__p13864122962115">When the service is rebooted, it becomes unavailable and can disrupt business operations. When the instance is rebooted, it cannot be used and any tasks running on the current instance node will fail.</p>
</div></div>
</li></ul>
</p></li></ol>
<p id="ALM-45290__p1790386"><strong id="ALM-45290__b46521598112720">Collect fault information.</strong></p>
<ol start="6" id="ALM-45290__ol58212157112724"><li id="ALM-45290__d0e43963"><a name="ALM-45290__d0e43963"></a><a name="d0e43963"></a><span>On FusionInsight Manager, choose <strong id="ALM-45290__b548317219558">O&amp;M</strong>. In the navigation pane on the left, choose <strong id="ALM-45290__b184841521185510">Log</strong> &gt; <strong id="ALM-45290__b204841121185519">Download</strong>.</span></li><li id="ALM-45290__li30123571"><span>Expand the <strong id="ALM-45290__b1910732315552">Service</strong> drop-down list, and select <strong id="ALM-45290__b17107142311559">Ranger</strong> for the target cluster.</span></li><li id="ALM-45290__li2676689"><span>Click the edit icon in the upper right corner, and set <strong id="ALM-45290__b1631172525520">Start Date</strong> and <strong id="ALM-45290__b731525195515">End Date</strong> for log collection to 10 minutes ahead of and after the alarm generation time, respectively. Then, click <strong id="ALM-45290__b153112565515">Download</strong>.</span></li><li id="ALM-45290__li24090206"><span>Contact <span id="ALM-45290__text1890426135510">O&amp;M personnel</span> and provide the collected logs.</span></li></ol>
</div>
<div class="section" id="ALM-45290__section169311343318"><h4 class="sectiontitle"><span id="ALM-45290__text976142215819">Alarm Clearance</span></h4><p id="ALM-45290__p754913417333">This alarm is automatically cleared after the fault is rectified.</p>
</div>
<div class="section" id="ALM-45290__section891955662611"><h4 class="sectiontitle"><span id="ALM-45290__text13373191116114">Related Information</span></h4><p id="ALM-45290__p139191756122619"><span id="ALM-45290__text13669101910115">None.</span></p>
</div>
<p id="ALM-45290__p8060118"></p>
</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>