summaryrefslogtreecommitdiffstats
path: root/rubbos/app/httpd-2.0.64/docs/conf/highperformance-std.conf
diff options
context:
space:
mode:
authorhongbotian <hongbo.tianhongbo@huawei.com>2015-11-30 01:45:08 -0500
committerhongbotian <hongbo.tianhongbo@huawei.com>2015-11-30 01:45:08 -0500
commite8ec7aa8e38a93f5b034ac74cebce5de23710317 (patch)
treeaa031937bf856c1f8d6ad7877b8d2cb0224da5ef /rubbos/app/httpd-2.0.64/docs/conf/highperformance-std.conf
parentcc40af334e619bb549038238507407866f774f8f (diff)
upload http
JIRA: BOTTLENECK-10 Change-Id: I7598427ff904df438ce77c2819ee48ac75ffa8da Signed-off-by: hongbotian <hongbo.tianhongbo@huawei.com>
Diffstat (limited to 'rubbos/app/httpd-2.0.64/docs/conf/highperformance-std.conf')
-rw-r--r--rubbos/app/httpd-2.0.64/docs/conf/highperformance-std.conf70
1 files changed, 70 insertions, 0 deletions
diff --git a/rubbos/app/httpd-2.0.64/docs/conf/highperformance-std.conf b/rubbos/app/httpd-2.0.64/docs/conf/highperformance-std.conf
new file mode 100644
index 00000000..a8e033c2
--- /dev/null
+++ b/rubbos/app/httpd-2.0.64/docs/conf/highperformance-std.conf
@@ -0,0 +1,70 @@
+# 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 /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
+
+Listen 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 150
+StartServers 5
+MinSpareServers 5
+MaxSpareServers 10
+</IfModule>
+
+<IfModule worker.c>
+StartServers 2
+MaxClients 150
+MinSpareThreads 25
+MaxSpareThreads 75
+ThreadsPerChild 25
+MaxRequestsPerChild 0
+</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
+
+<Directory />
+ # The server can be made to avoid following symbolic links,
+ # to make security simpler. However, this takes extra CPU time,
+ # so we will just let it follow symlinks.
+ Options FollowSymLinks
+
+ # Don't check for .htaccess files in each directory - they slow
+ # things down
+ AllowOverride None
+
+ # 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.