forked from docs/doc-exports
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>
89 lines
12 KiB
HTML
89 lines
12 KiB
HTML
<a name="ALM-45289"></a><a name="ALM-45289"></a>
|
|
|
|
<h1 class="topictitle1">ALM-45289 PolicySync Heap Memory Usage Exceeds the Threshold</h1>
|
|
<div id="body41307931"><div class="note" id="ALM-45289__note14744151615401"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="ALM-45289__p1431519566">This section applies only to MRS 3.3.0 or later.</p>
|
|
</div></div>
|
|
<div class="section" id="ALM-45289__section61130422"><h4 class="sectiontitle"><span id="ALM-45289__text14838183534515">Alarm Description</span></h4><p id="ALM-45289__p14504164">The system checks the heap memory usage of the PolicySync service every 60 seconds. This alarm is generated when the heap memory usage of the PolicySync 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-45289__section13302888"><h4 class="sectiontitle"><span id="ALM-45289__text66488119489">Alarm Attributes</span></h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-45289__table33986641" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-45289__row13879140"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.1.4.1.1"><p id="ALM-45289__p50468531"><span id="ALM-45289__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-45289__p61419199"><span id="ALM-45289__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-45289__p8899183"><span id="ALM-45289__text139206232502">Auto Cleared</span></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ALM-45289__row49745195"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.1.4.1.1 "><p id="ALM-45289__p2829020">45289</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.1.4.1.2 "><p id="ALM-45289__p27824106">Major</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.1.4.1.3 "><p id="ALM-45289__p39160124">Yes</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ALM-45289__section52617132"><h4 class="sectiontitle"><span id="ALM-45289__text0580183514489">Alarm Parameters</span></h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ALM-45289__table17853499" frame="border" border="1" rules="all"><thead align="left"><tr id="ALM-45289__row18143824"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.2.1.3.1.1"><p id="ALM-45289__p60363621"><span id="ALM-45289__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-45289__p57615147"><span id="ALM-45289__text1971012173566">Description</span></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="ALM-45289__row13401184712152"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.1 "><p id="ALM-45289__p0124015142017">Source</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.2 "><p id="ALM-45289__p141241159202">Specifies the cluster for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-45289__row36315337"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.1 "><p id="ALM-45289__p4124161572012">ServiceName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.2 "><p id="ALM-45289__p28465328">Specifies the service for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-45289__row54861362"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.1 "><p id="ALM-45289__p91242015132019">RoleName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.2 "><p id="ALM-45289__p40562973">Specifies the role for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-45289__row29522441"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.1 "><p id="ALM-45289__p71246159207">HostName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.2 "><p id="ALM-45289__p20557292">Specifies the host for which the alarm is generated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="ALM-45289__row9721490519"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.1 "><p id="ALM-45289__p9124181519204">Trigger Condition</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.1.3.1.2 "><p id="ALM-45289__p21241615172015">Specifies the threshold for triggering the alarm.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="ALM-45289__section3792148"><h4 class="sectiontitle"><span id="ALM-45289__text1127833410585">Impact on the System</span></h4><p id="ALM-45289__p6696265">Heap memory overflow may cause service breakdown.</p>
|
|
</div>
|
|
<div class="section" id="ALM-45289__section34129336"><h4 class="sectiontitle"><span id="ALM-45289__text10245783115">Possible Causes</span></h4><p id="ALM-45289__p5526629">The heap memory of the PolicySync instance is overused or the heap memory is inappropriately allocated.</p>
|
|
</div>
|
|
<div class="section" id="ALM-45289__section5600173202020"><h4 class="sectiontitle"><span id="ALM-45289__text35421632154">Handling Procedure</span></h4><ol id="ALM-45289__ol2380770"><li id="ALM-45289__li21426936"><span>Log in to FusionInsight Manager and choose <strong id="ALM-45289__b99641451585">O&M</strong> > <strong id="ALM-45289__b3964144518819">Alarm </strong>> <strong id="ALM-45289__b8965194512815">Alarms </strong>> <strong id="ALM-45289__b17965154510820">ALM-45289 PolicySync 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-45289__li58624704"><a name="ALM-45289__li58624704"></a><a name="li58624704"></a><span>On FusionInsight Manager, choose <strong id="ALM-45289__b527115152912">Cluster </strong>> <strong id="ALM-45289__b1427110151196">Services </strong>> <strong id="ALM-45289__b1527113151699">Ranger </strong>> <strong id="ALM-45289__b72715157911">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-45289__b19271191516913">Customize </strong>> <strong id="ALM-45289__b1627119153914">CPU and Memory</strong> > <strong id="ALM-45289__b1427131511916">PolicySync Heap Memory Usage</strong>. Click <strong id="ALM-45289__b32711158910">OK</strong>.</span></li><li id="ALM-45289__li57860289"><span>Check whether the heap memory used by PolicySync reaches the threshold (95% of the maximum heap memory by default).</span><p><ul id="ALM-45289__ul50980558"><li id="ALM-45289__li56171838">If yes, go to <a href="#ALM-45289__li11521246145513">4</a>.</li><li id="ALM-45289__li53625048">If no, go to <a href="#ALM-45289__li42224042151734">6</a>.</li></ul>
|
|
</p></li><li id="ALM-45289__li11521246145513"><a name="ALM-45289__li11521246145513"></a><a name="li11521246145513"></a><span>On FusionInsight Manager, choose <strong id="ALM-45289__b17746201010">Cluster </strong>> <strong id="ALM-45289__b1477156161013">Services </strong>> <strong id="ALM-45289__b678196101019">Ranger </strong>> <strong id="ALM-45289__b15781863109">Instance </strong>> <strong id="ALM-45289__b2078169100">PolicySync</strong>. Click <strong id="ALM-45289__b7785613109">Instance Configuration</strong> and then <strong id="ALM-45289__b97836101013">All Configurations</strong>, and choose <strong id="ALM-45289__b187916618106">PolicySync </strong>> <strong id="ALM-45289__b1479463109">System</strong>. Set <strong id="ALM-45289__b2743558191014">-Xmx</strong> in the <strong id="ALM-45289__b874435821016">GC_OPTS</strong> parameter to a larger value based on site requirements and save the configuration.</span><p><div class="note" id="ALM-45289__note14125215132018"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="ALM-45289__p2125171592019">If this alarm is generated, the heap memory configured for PolicySync cannot meet the heap memory required by the PolicySync process. You are advised to change the value of <strong id="ALM-45289__b170211331119">-Xmx</strong> in <strong id="ALM-45289__b57033313114">GC_OPTS</strong> to twice that of the heap memory used by PolicySync. You can change the value based on the actual service scenario. Refer to <a href="#ALM-45289__li58624704">2</a> to view the PolicySync heap memory usage.</p>
|
|
</div></div>
|
|
</p></li><li id="ALM-45289__li35301418"><span>Restart the affected services or instances and check whether the alarm is cleared.</span><p><ul id="ALM-45289__ul49277313"><li id="ALM-45289__li40842634">If yes, no further action is required.</li><li id="ALM-45289__li32039392">If no, go to <a href="#ALM-45289__li42224042151734">6</a>.<div class="notice" id="ALM-45289__note88641929172117"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="ALM-45289__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-45289__p45053948"><strong id="ALM-45289__b35235717112450">Collect fault information.</strong></p>
|
|
<ol start="6" id="ALM-45289__ol41031367112456"><li id="ALM-45289__li42224042151734"><a name="ALM-45289__li42224042151734"></a><a name="li42224042151734"></a><span>On FusionInsight Manager, choose <strong id="ALM-45289__b11470051171118">O&M</strong>. In the navigation pane on the left, choose <strong id="ALM-45289__b2047175118119">Log</strong> > <strong id="ALM-45289__b847125151116">Download</strong>.</span></li><li id="ALM-45289__li28093597"><span>Expand the <strong id="ALM-45289__b6537154161118">Service</strong> drop-down list, and select <strong id="ALM-45289__b1053716545112">Ranger</strong> for the target cluster.</span></li><li id="ALM-45289__li51515784"><span>Click the edit icon in the upper right corner, and set <strong id="ALM-45289__b1896295911114">Start Date</strong> and <strong id="ALM-45289__b396385917117">End Date</strong> for log collection to 10 minutes ahead of and after the alarm generation time, respectively. Then, click <strong id="ALM-45289__b4963195919116">Download</strong>.</span></li><li id="ALM-45289__li60988879"><span>Contact <span id="ALM-45289__text157218215128">O&M personnel</span> and provide the collected logs.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="ALM-45289__section2125181572010"><h4 class="sectiontitle"><span id="ALM-45289__text976142215819">Alarm Clearance</span></h4><p id="ALM-45289__p17125121572018">This alarm is automatically cleared after the fault is rectified.</p>
|
|
</div>
|
|
<div class="section" id="ALM-45289__section891955662611"><h4 class="sectiontitle"><span id="ALM-45289__text13373191116114">Related Information</span></h4><p id="ALM-45289__p139191756122619"><span id="ALM-45289__text13669101910115">None.</span></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>
|
|
|