From 3c2fca2f84df1936bfe84a9000829227e2628a9f Mon Sep 17 00:00:00 2001 From: Brian Pane Date: Fri, 17 May 2002 01:43:52 +0000 Subject: [PATCH] Added EnableMMAP (commented out) to the standard config git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95144 13f79535-47bb-0310-9956-ffa450edef68 --- docs/conf/httpd-std.conf.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/conf/httpd-std.conf.in b/docs/conf/httpd-std.conf.in index c74b29da68..fccb7c01e9 100644 --- a/docs/conf/httpd-std.conf.in +++ b/docs/conf/httpd-std.conf.in @@ -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 -- 2.40.0