]> git.pld-linux.org Git - packages/apache.git/blob - apache-mpm.conf
- vim modelines not needed (vim patched to be smart)
[packages/apache.git] / apache-mpm.conf
1 #
2 # Server-Pool Management (MPM specific)
3 #
4
5 #
6 # PidFile: The file in which the server should record its process
7 # identification number when it starts.
8 #
9 # Note that this is the default PidFile for most MPMs.
10 #
11 PidFile /var/run/httpd.pid
12
13 #
14 # The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
15 #
16 LockFile /var/run/apache/accept.lock
17
18 #
19 # Only one of the below sections will be relevant on your
20 # installed httpd.  Use "apachectl -l" to find out the
21 # active mpm.
22 #
23
24 # prefork MPM
25 # StartServers: number of server processes to start
26 # MinSpareServers: minimum number of server processes which are kept spare
27 # MaxSpareServers: maximum number of server processes which are kept spare
28 # MaxClients: maximum number of server processes allowed to start
29 # MaxRequestsPerChild: maximum number of requests a server process serves
30 <IfModule mpm_prefork_module>
31     StartServers          5
32     MinSpareServers       5
33     MaxSpareServers      10
34     MaxClients          150
35     MaxRequestsPerChild   0
36 </IfModule>
37
38 # worker MPM
39 # StartServers: initial number of server processes to start
40 # MaxClients: maximum number of simultaneous client connections
41 # MinSpareThreads: minimum number of worker threads which are kept spare
42 # MaxSpareThreads: maximum number of worker threads which are kept spare
43 # ThreadsPerChild: constant number of worker threads in each server process
44 # MaxRequestsPerChild: maximum number of requests a server process serves
45 <IfModule mpm_worker_module>
46     StartServers          2
47     MaxClients          150
48     MinSpareThreads      25
49     MaxSpareThreads      75
50     ThreadsPerChild      25
51     MaxRequestsPerChild   0
52 </IfModule>
This page took 0.03087 seconds and 4 git commands to generate.