]> granicus.if.org Git - apache/commitdiff
add highperformance-std.conf . The -std name allows make install to work
authorGreg Ames <gregames@apache.org>
Thu, 25 Jan 2001 18:29:35 +0000 (18:29 +0000)
committerGreg Ames <gregames@apache.org>
Thu, 25 Jan 2001 18:29:35 +0000 (18:29 +0000)
its magic.

Slightly changed from highperformance.conf : I added "User" and "Group" so
it works right out of the box on Linux.  Group will no doubt need editing on
other platforms.

I'll remove docs/conf/highperformance.conf from CVS once I find out the
right way to do it.  (Hints appreciated)

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

docs/conf/highperformance-std.conf [new file with mode: 0755]

diff --git a/docs/conf/highperformance-std.conf b/docs/conf/highperformance-std.conf
new file mode 100755 (executable)
index 0000000..d3a5540
--- /dev/null
@@ -0,0 +1,63 @@
+# Ha, you're reading this config file looking for the easy way out!
+# "how do I make my apache server go really really fast??"
+# Well you could start by reading the htdocs/manual/misc/perf-tuning.html
+# page.  But, we'll give you a head start.
+#
+# This config file is small, it is probably not what you'd expect on a
+# full featured internet webserver with multiple users.  But it's
+# probably a good starting point for any folks interested in testing
+# performance.
+#
+# To run this config you'll need to use something like:
+#     httpd -f @@ServerRoot@@/conf/highperformance.conf
+
+Port 80
+ServerRoot @@ServerRoot@@
+DocumentRoot @@ServerRoot@@/htdocs
+
+User  nobody
+# If you're not on Linux, you'll probably need to change Group
+Group nobody
+
+<IfModule prefork.c>
+MaxClients       8 
+StartServers     5
+MinSpareServers  5
+MaxSpareServers 10
+</IfModule>
+
+<IfModule mpmt_pthread.c>
+MaxClients       8
+StartServers     1
+MinSpareThreads  5
+MaxSpareThreads 10
+ThreadsPerChild 20
+</IfModule>
+
+# Assume no memory leaks at all
+MaxRequestsPerChild 0
+
+# it's always nice to know the server has started
+ErrorLog logs/error_log
+
+# Some benchmarks require logging, which is a good requirement.  Uncomment
+# this if you need logging.
+#TransferLog logs/access_log
+
+# Disable symlink protection and htaccess files, they chew far too much.
+<Directory />
+    AllowOverride none
+    Options FollowSymLinks
+    # If this was a real internet server you'd probably want to
+    # uncomment these:
+    #order deny,allow
+    #deny from all
+</Directory>
+
+# If this was a real internet server you'd probably want to uncomment this:
+#<Directory "@@ServerRoot@@/htdocs">
+#    order allow,deny
+#    allow from all
+#</Directory>
+
+# OK that's enough hints.  Read the documentation if you want more.