Commit 727a8086 authored by Stefan Fritsch's avatar Stefan Fritsch
Browse files

backport r1005973:

Mention that the required ThreadStackSize depends on the modules loaded.
Instead of recommending a value, recommend not to reduce it unless necessary.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1005975 13f79535-47bb-0310-9956-ffa450edef68
parent 970eadfa
Loading
Loading
Loading
Loading
+8 −4
Changes for docs/manual/mod/mpm_common.xml: 8 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -898,11 +898,15 @@ client connections</description>
      of adjustment should only be made in a test environment which allows
      the full set of web server processing can be exercised, as there
      may be infrequent requests which require more stack to process.
      A change in the web server configuration can invalidate the
      current <directive>ThreadStackSize</directive> setting.
      On some platforms (including Linux), a setting of 128000 is known to
      cause crashes. A value of at least 204800 is recommended.</li>
      The minumum required stack size strongly depends on the modules
      used, but any change in the web server configuration can invalidate
      the current <directive>ThreadStackSize</directive> setting.</li>
    </ul>

    <note>It is recommended to not reduce <directive>ThreadStackSize</directive>
    unless a high number of threads per child process is needed. On some
    platforms (including Linux), a setting of 128000 is already too low and
    causes crashes with some common modules.</note>
</usage>
</directivesynopsis>