]> TLD Linux GIT Repositories - packages/apache.git/blob - apache-mpm.conf
- updated to 2.4.58, build with lua 5.4
[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 # Mutex: Allows you to set the mutex mechanism and mutex file directory
19 # for individual mutexes, or change the global defaults
20 #
21 # Uncomment and change the directory if mutexes are file-based and the default
22 # mutex file directory is not on a local disk or is not appropriate for some
23 # other reason.
24 #
25 # Mutex default:/var/run/httpd/
26
27 #
28 # Only one of the below sections will be relevant on your
29 # installed httpd.  Use "apachectl -l" to find out the
30 # active mpm.
31 #
32
33 # prefork MPM
34 # StartServers: number of server processes to start
35 # MinSpareServers: minimum number of server processes which are kept spare
36 # MaxSpareServers: maximum number of server processes which are kept spare
37 # MaxRequestWorkers: maximum number of server processes allowed to start
38 # MaxConnectionsPerChild: maximum number of requests a server process serves
39 <IfModule mpm_prefork_module>
40         StartServers              5
41         MinSpareServers           5
42         MaxSpareServers          10
43         MaxRequestWorkers                       150
44         MaxConnectionsPerChild   0
45 </IfModule>
46
47 # worker MPM
48 # StartServers: initial number of server processes to start
49 # MaxRequestWorkers: maximum number of simultaneous client connections
50 # MinSpareThreads: minimum number of worker threads which are kept spare
51 # MaxSpareThreads: maximum number of worker threads which are kept spare
52 # ThreadsPerChild: constant number of worker threads in each server process
53 # MaxConnectionsPerChild: maximum number of requests a server process serves
54 <IfModule mpm_worker_module>
55         StartServers            2
56         MaxRequestWorkers                       150
57         MinSpareThreads         25
58         MaxSpareThreads         75
59         ThreadsPerChild         25
60         MaxConnectionsPerChild  0
61 </IfModule>