]> granicus.if.org Git - apache/commitdiff
Added EnableMMAP (commented out) to the standard config
authorBrian Pane <brianp@apache.org>
Fri, 17 May 2002 01:43:52 +0000 (01:43 +0000)
committerBrian Pane <brianp@apache.org>
Fri, 17 May 2002 01:43:52 +0000 (01:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95144 13f79535-47bb-0310-9956-ffa450edef68

docs/conf/httpd-std.conf.in

index c74b29da688128922d85ceebe47a5b4261f8e026..fccb7c01e9451752fddb47ce82e13f4317b8a683 100644 (file)
@@ -443,6 +443,19 @@ DefaultType text/plain
 #
 HostnameLookups Off
 
+#
+# EnableMMAP: Control whether the httpd may use memory-mapping when
+# delivering files (assuming that the underlying OS supports it).
+# The default is on, which in many cases yields improved performance
+# for mod_include requests.  On some platforms, however, you will
+# get better performance by disabling memory-mapping.  It is also
+# recommended that you disable memory-mapping for directories on
+# NFS-mounted filesystems; otherwise the httpd may crash if you
+# truncate or delete a file while it is being delivered.
+# To disable memory-mapping, use EnableMMAP off.
+#
+# EnableMMAP off
+
 #
 # ErrorLog: The location of the error log file.
 # If you do not specify an ErrorLog directive within a <VirtualHost>