upload apache
[bottlenecks.git] / rubbos / app / apache2 / conf / highperformance-std.conf
1 # Ha, you're reading this config file looking for the easy way out!
2 # "how do I make my apache server go really really fast??"
3 # Well you could start by reading the /manual/misc/perf-tuning.html
4 # page.  But, we'll give you a head start.
5 #
6 # This config file is small, it is probably not what you'd expect on a
7 # full featured internet webserver with multiple users.  But it's
8 # probably a good starting point for any folks interested in testing
9 # performance.
10 #
11 # To run this config you'll need to use something like:
12 #     httpd -f /bottlenecks/rubbos/app/apache2/conf/highperformance.conf
13
14 Listen 80
15 ServerRoot /bottlenecks/rubbos/app/apache2
16 DocumentRoot /bottlenecks/rubbos/app/apache2/htdocs
17
18 User  nobody
19 # If you're not on Linux, you'll probably need to change Group
20 Group nobody
21
22 <IfModule prefork.c>
23 MaxClients       150
24 StartServers     5
25 MinSpareServers  5
26 MaxSpareServers 10
27 </IfModule>
28
29 <IfModule worker.c>
30 StartServers         2
31 MaxClients         150
32 MinSpareThreads     25
33 MaxSpareThreads     75 
34 ThreadsPerChild     25
35 MaxRequestsPerChild  0
36 </IfModule>
37
38 # Assume no memory leaks at all
39 MaxRequestsPerChild 0
40
41 # it's always nice to know the server has started
42 ErrorLog logs/error_log
43
44 # Some benchmarks require logging, which is a good requirement.  Uncomment
45 # this if you need logging.
46 #TransferLog logs/access_log
47
48 <Directory />
49     # The server can be made to avoid following symbolic links,
50     # to make security simpler. However, this takes extra CPU time,
51     # so we will just let it follow symlinks.
52     Options FollowSymLinks
53
54     # Don't check for .htaccess files in each directory - they slow
55     # things down
56     AllowOverride None
57
58     # If this was a real internet server you'd probably want to
59     # uncomment these:
60     #order deny,allow
61     #deny from all
62 </Directory>
63
64 # If this was a real internet server you'd probably want to uncomment this:
65 #<Directory "/bottlenecks/rubbos/app/apache2/htdocs">
66 #    order allow,deny
67 #    allow from all
68 #</Directory>
69
70 # OK that's enough hints.  Read the documentation if you want more.