]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Add docs for LockFile and fix a few typos.
authorMarc Slemko <marc@apache.org>
Sun, 29 Jun 1997 01:14:16 +0000 (01:14 +0000)
committerMarc Slemko <marc@apache.org>
Sun, 29 Jun 1997 01:14:16 +0000 (01:14 +0000)
Reviewed by:
Submitted by:
Obtained from:

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78434 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/core.html
docs/manual/mod/directives.html

index 94d0af234655be415e903a2682b6d75e9b68ac52..6e4d5f0ced8a09e43374c795d78bedc9dac8a9e7 100644 (file)
@@ -45,6 +45,7 @@ always available.
 <li><A HREF="#listen">Listen</A>
 <li><A HREF="#listenbacklog">ListenBacklog</A>
 <li><A HREF="#location">&lt;Location&gt;</A>
+<li><A HREF="#lockfile">LockFile</A>
 <li><A HREF="#maxclients">MaxClients</A>
 <li><A HREF="#maxkeepaliverequests">MaxKeepAliveRequests</a>
 <li><A HREF="#maxrequestsperchild">MaxRequestsPerChild</A>
@@ -659,7 +660,7 @@ directive.</p>
 <a href="../misc/known_bugs.html#listenbug">Known Bugs</a></p>
 <hr>
 
-<A NAME="listenbacklog"<H2>ListenBacklog</H2></A>
+<A NAME="listenbacklog"><H2>ListenBacklog</H2></A>
 <strong>Syntax:</strong> ListenBacklog <em>backlog</em><br>
 <strong>Default:</strong> <code>ListenBacklog 511</code><br>
 <strong>Context:</strong> server config<br>
@@ -728,7 +729,7 @@ the
    &lt;Location ~ &quot;/(extra|special)/data&quot;&gt;
 </pre>
 
-would match URLs that contained the substring "/extra/data" or
+<p>would match URLs that contained the substring "/extra/data" or
 "/special/data".</p>
 
 <p>The <code>Location</code> functionality is especially useful when
@@ -746,7 +747,23 @@ from browsers at foo.com, you might use:
 </pre>
 <hr>
 
-<A name="maxclients"><h2>MaxClients directive</h2></A>
+<A NAME="lockfile"><H2>LockFile</H2></A>
+<strong>Syntax:</strong> LockFile <em>filename</em><BR>
+<strong>Default:</strong> <code>LockFile logs/accept.lock</code><BR>
+<strong>Context:</strong> server config<BR>
+<strong>Status:</strong> core<P>
+
+The LockFile directive sets the path to the lockfile used when
+Apache is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or
+USE_FLOCK_SERIALIZED_ACCEPT.  This directive should normally be
+left at its default value.  The main reason for changing it is if
+the <code>logs</code> directory is NFS mounted, since the lockfile
+should be stored on a local disk if possible.  The PID of the main
+server process is automatically appended to the filename.
+
+<P><HR>
+
+<A name="maxclients"><h2>MaxClients</h2></A>
 <!--%plaintext &lt;?INDEX {\tt MaxClients} directive&gt; -->
 <strong>Syntax:</strong> MaxClients <em>number</em><br>
 <strong>Default:</strong> <code>MaxClients 256</code><br>
@@ -1048,7 +1065,7 @@ sections; in fact it can now contain any server directive allowed in the
 
 See also <A HREF="#accessconfig">AccessConfig</A>.<p><hr>
 
-<A name="rlimit">
+<A name="rlimit"> </A>
 <A name="rlimitcpu"><h2>RLimitCPU directive</h2></A>
 <!--%plaintext &lt;?INDEX {\tt RLimitCPU} directive&gt; -->
 <strong>Syntax:</strong> RLimitCPU <em># or 'max'</em> <em>[# or 'max']</em><br>
index c912c648c029f9519eb19f42179e082a75a812e5..1c31c7b1a272fe604823b69989053277be8ef98d 100644 (file)
 <li><A HREF="mod_dld.html#loadfile">LoadFile</A>
 <li><A HREF="mod_dld.html#loadmodule">LoadModule</A>
 <li><A HREF="core.html#location">&lt;Location&gt;</A>
+<li><A HREF="core.html#lockfile">LockFile</A>
 <li><A HREF="mod_log_config.html#logformat">LogFormat</A>
 <li><A HREF="core.html#maxclients">MaxClients</A>
 <li><A HREF="core.html#maxkeepaliverequests">MaxKeepAliveRequests</A>