Yang, Tong 6182f91ba8 MRS component operation guide_normal 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-09 14:55:21 +00:00

45 lines
4.3 KiB
HTML

<a name="mrs_01_0863"></a><a name="mrs_01_0863"></a>
<h1 class="topictitle1">Configuring Memory Usage Detection</h1>
<div id="body1590130746703"><div class="section" id="mrs_01_0863__s833783e0382945ffb36043b2ebfc38f5"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_0863__ac60ec6335b124df4940f97e5108a615e">If memory usage of the submitted application cannot be estimated, you can modify the configuration on the server to determine whether to check the memory usage.</p>
<p id="mrs_01_0863__a051967401cce423684fb8a425e4f2e96">If the memory usage is not checked, the container occupies the memory until the memory overflows. If the memory usage exceeds the configured memory size, the corresponding container is killed.</p>
</div>
<div class="section" id="mrs_01_0863__s75810073abb84468886b8cda5fe7a06f"><h4 class="sectiontitle">Configuration Description</h4><p id="mrs_01_0863__p174817142511">Go to the <strong id="mrs_01_0863__b1922110193512">All Configurations</strong> page of Yarn and enter a parameter name in the search box by referring to <a href="mrs_01_2125.html">Modifying Cluster Service Configuration Parameters</a>.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_0863__tb399ec00d2b14bbf8761d15ffc79bfdf" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="mrs_01_0863__rd820ba286d934c789647915337072fd6"><th align="left" class="cellrowborder" valign="top" width="20.18%" id="mcps1.3.2.3.2.4.1.1"><p id="mrs_01_0863__a52a770bc60144c6e869928c317851a81">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="63.59%" id="mcps1.3.2.3.2.4.1.2"><p id="mrs_01_0863__abfd986bc9e22436bb7312b4b8516dccb">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.23%" id="mcps1.3.2.3.2.4.1.3"><p id="mrs_01_0863__a1bea9c7f933349c5ae945107e02a1190">Default Value</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_01_0863__rf1cf847547fb4aa0ac29fb66c2adf98b"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.2.3.2.4.1.1 "><p id="mrs_01_0863__abb96f8be0e9349bc89affac5aae8abd5">yarn.nodemanager.vmem-check-enabled</p>
</td>
<td class="cellrowborder" valign="top" width="63.59%" headers="mcps1.3.2.3.2.4.1.2 "><p id="mrs_01_0863__en-us_topic_0039590274_p754136610163">Whether to enable virtual memory usage detection. If the memory used by a task exceeds the allocated memory size, the task is forcibly stopped.</p>
<ul id="mrs_01_0863__ub067c8fbc7114898b00ab626771e93e1"><li id="mrs_01_0863__lde3e0e677e5b40f4b06bef9943338f21">If the value is <strong id="mrs_01_0863__b564696101613">true</strong>, the virtual memory will be checked.</li><li id="mrs_01_0863__l20a9366838b848099c936b7f54ae7ed9">If the value is <strong id="mrs_01_0863__b6891016101611">false</strong>, the virtual memory will not be checked.</li></ul>
</td>
<td class="cellrowborder" valign="top" width="16.23%" headers="mcps1.3.2.3.2.4.1.3 "><p id="mrs_01_0863__p369617911619">For versions earlier than MRS 3.x: false</p>
<p id="mrs_01_0863__p164411593152">For MRS 3.x or later: true</p>
</td>
</tr>
<tr id="mrs_01_0863__r6a93d9cb637c4e2b8ce632b84ae89f75"><td class="cellrowborder" valign="top" width="20.18%" headers="mcps1.3.2.3.2.4.1.1 "><p id="mrs_01_0863__a63c6cd916e304d289fc459eab07663c3">yarn.nodemanager.pmem-check-enabled</p>
</td>
<td class="cellrowborder" valign="top" width="63.59%" headers="mcps1.3.2.3.2.4.1.2 "><p id="mrs_01_0863__a72792f8694d544edb9b0e26684cd1be0">Whether to enable physical memory usage detection. If the memory used by a task exceeds the allocated memory size, the task is forcibly stopped.</p>
<ul id="mrs_01_0863__u9fbd2c6479bf471e99b67457b7a3143f"><li id="mrs_01_0863__lf703e2012da54373b0c43e12324e42a7">If the value is <strong id="mrs_01_0863__b179077509169">true</strong>, the physical memory will be checked.</li><li id="mrs_01_0863__l623e1b8954d14e9989ddc73ac23851a5">If the value is <strong id="mrs_01_0863__b161162520175">false</strong>, the physical memory will not be checked.</li></ul>
</td>
<td class="cellrowborder" valign="top" width="16.23%" headers="mcps1.3.2.3.2.4.1.3 "><p id="mrs_01_0863__ae370931e9c504413b941e76e2fa32e59">true</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0851.html">Using Yarn</a></div>
</div>
</div>