Author: covener
Date: Sun Jan 9 23:04:56 2011
New Revision: 1057049
URL: http://svn.apache.org/viewvc?rev=1057049&view=rev
Log:
warn about FAQ of trying to decrease thread stack size with ThreadStackSize
on Linux.
Modified:
httpd/httpd/trunk/docs/manual/mod/mpm_common.xml
Modified: httpd/httpd/trunk/docs/manual/mod/mpm_common.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mpm_common.xml?rev=1057049&r1=1057048&r2=1057049&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mpm_common.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mpm_common.xml Sun Jan 9 23:04:56 2011
@@ -741,6 +741,12 @@ client connections</description>
The minimum 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>
+
+ <li>On Linux, this directive can only be used to increase the default
+ stack size, as the underlying system call uses the value as a
+ <em>minimum</em> stack size. The (often large) soft limit for
+ <code>ulimit -s</code> (8MB if unlimited) is used as the default stack
+ size.</li>
</ul>
<note>It is recommended to not reduce <directive>ThreadStackSize</directive>
|