From: Joshua Slive Date: Tue, 5 Apr 2005 14:02:44 +0000 (+0000) Subject: An idea for solving the LockFile/PidFile issue by putting X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c520a91b794c987398d9fd5ba7b165c2a57c4238;p=thirdparty%2Fapache%2Fhttpd.git An idea for solving the LockFile/PidFile issue by putting them both in extra/httpd-mpm.conf, but including a comment in the main file on when they will need to be changed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/simple-conf@160172 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/conf/extra/httpd-mpm.conf.in b/docs/conf/extra/httpd-mpm.conf.in index 4be32190061..3f7b1b88a97 100644 --- a/docs/conf/extra/httpd-mpm.conf.in +++ b/docs/conf/extra/httpd-mpm.conf.in @@ -1,9 +1,6 @@ # -# Server-Pool Size Regulation (MPM specific) +# Server-Pool Management (MPM specific) # -# Only one of the below sections will be relevant on your -# installed httpd. Use "apachectl -l" to find out the -# active mpm. # # PidFile: The file in which the server should record its process @@ -15,6 +12,21 @@ PidFile @rel_runtimedir@/httpd.pid +# +# The accept serialization lock file MUST BE STORED ON A LOCAL DISK. +# + + +LockFile @rel_logfiledir@/accept.lock + + + +# +# Only one of the below sections will be relevant on your +# installed httpd. Use "apachectl -l" to find out the +# active mpm. +# + # prefork MPM # StartServers: number of server processes to start # MinSpareServers: minimum number of server processes which are kept spare diff --git a/docs/conf/httpd.conf.in b/docs/conf/httpd.conf.in index dc6e3ece483..f26209f5581 100644 --- a/docs/conf/httpd.conf.in +++ b/docs/conf/httpd.conf.in @@ -21,17 +21,13 @@ # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # -# Do NOT add a slash at the end of the directory path. +# Do NOT add a slash at the end of the directory path. If you point +# ServerRoot at a non-local disk, be sure to point the LockFile directive +# at a local disk. If you wish to share the same ServerRoot for multiple +# httpd daemons, you will need to change at least LockFile and PidFile. # ServerRoot "@@ServerRoot@@" -# NOTE! The following two directives are used on some systems -# to coordinate the httpd children. THEY MUST BE STORED ON -# A LOCAL DISK! -# -#LockFile @rel_logfiledir@/accept.lock -#ScoreBoardFile @rel_logfiledir@/apache_runtime_status - # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the