doc-exports/docs/dws/dev/dws_04_0895.html
Lu, Huayi a24ca60074 DWS DEVELOPER 811 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-01-19 13:37:49 +00:00

18 lines
2.1 KiB
HTML

<a name="EN-US_TOPIC_0000001099134900"></a><a name="EN-US_TOPIC_0000001099134900"></a>
<h1 class="topictitle1">Kernel Resources</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001099134900__ac4978a847af4485b940d344c992e3006">This section describes kernel resource parameters. Whether these parameters take effect depends on OS settings.</p>
<div class="section" id="EN-US_TOPIC_0000001099134900__s9e3ac3d41fa54fcf9770443ffb03ee38"><h4 class="sectiontitle">max_files_per_process</h4><p id="EN-US_TOPIC_0000001099134900__aeb7b110201444593b56b0512acfef131"><strong id="EN-US_TOPIC_0000001099134900__en-us_topic_0059778187_en-us_topic_0058967640_b7257711">Parameter description</strong>: Specifies the maximum number of simultaneously open files allowed by each server process. If the kernel is enforcing a proper limit, setting this parameter is not required.</p>
<p id="EN-US_TOPIC_0000001099134900__af2d74a11e86641b090acd3868ad0d94c">But on some platforms, especially on most BSD systems, the kernel allows independent processes to open far more files than the system can really support. If the message "Too many open files" is displayed, try to reduce the setting. Generally, the number of file descriptors must be greater than or equal to the maximum number of concurrent tasks multiplied by the number of primary DNs on the current physical machine (*max_files_per_process*3).</p>
<p id="EN-US_TOPIC_0000001099134900__p173966271383"><strong id="EN-US_TOPIC_0000001099134900__b023531817172">Type</strong>: POSTMASTER</p>
<p id="EN-US_TOPIC_0000001099134900__a27caac85a89a44bdbffe3b5145a7fa72"><strong id="EN-US_TOPIC_0000001099134900__b49049412812">Value range</strong>: an integer ranging from 25 to INT_MAX</p>
<p id="EN-US_TOPIC_0000001099134900__af7bd15b230eb4aa6944c73413a3118f7"><strong id="EN-US_TOPIC_0000001099134900__b77447017616429">Default value</strong>: <strong id="EN-US_TOPIC_0000001099134900__b3061407016429">1000</strong></p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0892.html">Resource Consumption</a></div>
</div>
</div>