From: Aaron Bannert Date: Tue, 16 Jul 2002 06:12:12 +0000 (+0000) Subject: Improve the comments on the fd limits. X-Git-Tag: 2.0.40~220 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e1899319daad43a08425585ad31490d07bdab39;p=apache 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 --- 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