]> TLD Linux GIT Repositories - packages/apache.git/blob - apache-mpm.conf
- -base obosoletes old mod_unixd, yes that helps probably just myself ;P
[packages/apache.git] / apache-mpm.conf
1 #
2 # Server-Pool Management (MPM specific)
3 #
4 # Use prefork as default
5 LoadModule mpm_prefork_module                modules/mod_mpm_prefork.so
6 #LoadModule mpm_worker_module                modules/mod_mpm_worker.so
7 #LoadModule mpm_event_module                modules/mod_mpm_event.so
8
9 #
10 # PidFile: The file in which the server should record its process
11 # identification number when it starts.
12 #
13 # Note that this is the default PidFile for most MPMs.
14 #
15 PidFile /var/run/httpd.pid
16
17 #
18 # The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
19 #
20 Mutex file:/var/run/httpd/
21
22 #
23 # Only one of the below sections will be relevant on your
24 # installed httpd.  Use "apachectl -l" to find out the
25 # active mpm.
26 #
27
28 # StartServers: number of server processes to start
29 # MinSpareThreads: minimum number of server processes which are kept spare
30 # MaxSpareThreads: maximum number of server processes which are kept spare
31 # MaxRequestWorkers: Maximum number of connections that will be processed simultaneously
32 # MaxRequestsPerChild: maximum number of requests a server process serves
33
34 StartServers              5
35 MinSpareServers           5
36 MaxSpareServers          10
37 MaxRequestWorkers       150
38 MaxConnectionsPerChild   5
39
40 <IfModule mpm_prefork_module>
41 </IfModule>
42
43 <IfModule mpm_worker_module>
44         MaxSpareThreads 250
45         MinSpareThreads 75
46         ThreadLimit 1920
47         ThreadsPerChild 25
48 </IfModule>
49
50 <IfModule mpm_event_module>
51         MaxSpareThreads 250
52         MinSpareThreads 75
53         ThreadLimit 1920
54         ThreadsPerChild 25
55 </IfModule>