mirror of
https://github.com/apache/httpd.git
synced 2026-10-23 22:49:01 +03:00
xforms
[skip CI] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1938790 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -51,6 +51,17 @@ configured to be passed at full speed before throttling to the
|
||||
specified rate limit. This value is optional, and is set using
|
||||
the environment variable <code>rate-initial-burst</code>.</p>
|
||||
|
||||
<div class="warning"><h3>Resource consumption</h3>
|
||||
<p>Rate limiting is implemented by sleeping between writes to the client,
|
||||
so each rate-limited response occupies a server thread (or process) for
|
||||
the entire, deliberately prolonged, duration of the transfer. This applies
|
||||
to all MPMs, including <code class="module"><a href="../mod/event.html">event</a></code>. A modest number of slow,
|
||||
rate-limited downloads can exhaust the server's available workers and
|
||||
prevent other requests from being served. Use this module with caution,
|
||||
limit it to the resources that need it, and size
|
||||
<code class="directive"><a href="../mod/mpm_common.html#maxrequestworkers">MaxRequestWorkers</a></code> accordingly.</p>
|
||||
</div>
|
||||
|
||||
<div class="example"><h3>Example Configuration</h3><pre class="prettyprint lang-config"><Location "/downloads">
|
||||
SetOutputFilter RATE_LIMIT
|
||||
SetEnv rate-limit 400
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
|
||||
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
|
||||
<!-- English Revision: 1835168 -->
|
||||
<!-- English Revision: 1835168:1938789 (outdated) -->
|
||||
<!-- French translation : Lucien GENTIS -->
|
||||
<!-- Reviewed by : Vincent Deffontaines -->
|
||||
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
|
||||
<variants>
|
||||
<variant>en</variant>
|
||||
<variant>fr</variant>
|
||||
<variant outdated="yes">fr</variant>
|
||||
</variants>
|
||||
</metafile>
|
||||
|
||||
Reference in New Issue
Block a user