summaryrefslogtreecommitdiff
path: root/support/apachectl.in
diff options
context:
space:
mode:
authorAaron Bannert <aaron@apache.org>2002-07-16 06:12:12 +0000
committerAaron Bannert <aaron@apache.org>2002-07-16 06:12:12 +0000
commit2e1899319daad43a08425585ad31490d07bdab39 (patch)
tree428e37fadc05bedb4dea0d23690758ff32db729b /support/apachectl.in
parentceefbfe22f9a139e4dd96981874220c99923c021 (diff)
downloadhttpd-2e1899319daad43a08425585ad31490d07bdab39.tar.gz
Improve the comments on the fd limits.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96069 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/apachectl.in')
-rw-r--r--support/apachectl.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/support/apachectl.in b/support/apachectl.in
index 356ca3c326..a0d21ea7dc 100644
--- a/support/apachectl.in
+++ b/support/apachectl.in
@@ -44,11 +44,15 @@ LYNX="lynx -dump"
# have one, then status and fullstatus will not work.
STATUSURL="http://localhost:@PORT@/server-status"
#
-# the command to increase the limit on open file descriptors
+# Set this variable to a command that increases the maximum
+# number of file descriptors allowed per child process. This is
+# critical for configurations that use many file descriptors,
+# such as mass vhosting, or a multithreaded server.
ULIMIT_MAX_FILES="@APACHECTL_ULIMIT@"
# -------------------- --------------------
# |||||||||||||||||||| END CONFIGURATION SECTION ||||||||||||||||||||
+# Set the maximum number of file descriptors allowed per child process.
if [ "x$ULIMIT_MAX_FILES" != "x" ] ; then
$ULIMIT_MAX_FILES
fi