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