The number of children processes needs to be a multiple of the number
of buckets to optimally accept connections.</p>
+ <div class="note">
+ <h3>Multiple <code class="directive">Listen</code>ers or Apache HTTP servers on
+ the same IP address and port</h3>
+ <p>Setting the <code>SO_REUSEPORT</code> option on the listening socket(s)
+ consequently allows multiple processes (sharing the same <code>EUID</code>,
+ e.g. <code>root</code>) to bind to the the same IP address and port,
+ without the binding error raised by the system in the usual case.</p>
+ <p>This also means that multiple instances of Apache httpd configured on a
+ same <code>IP:port</code> and with a positive <code class="directive">ListenCoresBucketsRatio</code>
+ would start without an error too, and then run with incoming connections
+ evenly distributed accross both instances (this is NOT a recommendation or
+ a sensible usage in any case, but just a notice that it would prevent such
+ possible issues to be detected).</p>
+ <p>Within the same instance, Apache httpd will check and fail to start if
+ multiple <code class="directive">Listen</code> directives on the exact same IP (or
+ hostname) and port are configured, thus avoiding the creation of some
+ duplicated buckets which would be useless and kill performances. However
+ it can't (and won't try harder to) catch all the possible overlapping cases
+ (like a hostname resolving to an IP used elsewhere).</p>
+ </div>
+
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="MaxConnectionsPerChild" id="MaxConnectionsPerChild">MaxConnectionsPerChild</a> <a name="maxconnectionsperchild" id="maxconnectionsperchild">Directive</a></h2>
<a href="../ja/mod/mpm_common.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
<a href="../tr/mod/mpm_common.html" title="Türkçe"> tr </a></p>
</div>
+<div class="outofdate">Bu çeviri güncel olmayabilir. Son değişiklikler için İngilizce sürüm geçerlidir.</div>
<table class="module"><tr><th><a href="module-dict.html#Description">Açıklama:</a></th><td>Birden fazla Çok Süreçlilik Modülü (MPM) tarafından gerçeklenmiş
yönergeler bütünü.</td></tr>
<tr><th><a href="module-dict.html#Status">Durum:</a></th><td>MPM</td></tr></table>