/[apache]/trunk/dist/2.2/conf/modules.d/00_mpm.conf
Gentoo

Contents of /trunk/dist/2.2/conf/modules.d/00_mpm.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 161 - (show annotations) (download)
Tue Jun 5 13:39:58 2007 UTC (7 years, 3 months ago) by hollow
File MIME type: text/plain
File size: 2827 byte(s)
whitespace cleanup; configure DavLockDB even if no auth modules are loaded
1 # Server-Pool Management (MPM specific)
2
3 # PidFile: The file in which the server should record its process
4 # identification number when it starts.
5 #
6 # Note that this is the default PidFile for most MPMs.
7 PidFile /var/run/apache2.pid
8
9 # The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
10 #LockFile /var/run/apache2.lock
11
12 # Only one of the below sections will be relevant on your
13 # installed httpd. Use "/usr/sbin/apache2 -l" to find out the
14 # active mpm.
15
16 # prefork MPM
17 # This is the default MPM if USE=-threads
18 #
19 # StartServers: number of server processes to start
20 # MinSpareServers: minimum number of server processes which are kept spare
21 # MaxSpareServers: maximum number of server processes which are kept spare
22 # MaxClients: maximum number of server processes allowed to start
23 # MaxRequestsPerChild: maximum number of requests a server process serves
24 <IfModule mpm_prefork_module>
25 StartServers 5
26 MinSpareServers 5
27 MaxSpareServers 10
28 MaxClients 150
29 MaxRequestsPerChild 0
30 </IfModule>
31
32 # worker MPM
33 # This is the default MPM if USE=threads
34 #
35 # StartServers: initial number of server processes to start
36 # MaxClients: maximum number of simultaneous client connections
37 # MinSpareThreads: minimum number of worker threads which are kept spare
38 # MaxSpareThreads: maximum number of worker threads which are kept spare
39 # ThreadsPerChild: constant number of worker threads in each server process
40 # MaxRequestsPerChild: maximum number of requests a server process serves
41 <IfModule mpm_worker_module>
42 StartServers 2
43 MaxClients 150
44 MinSpareThreads 25
45 MaxSpareThreads 75
46 ThreadsPerChild 25
47 MaxRequestsPerChild 0
48 </IfModule>
49
50 # event MPM
51 <IfModule mpm_event_module>
52 StartServers 2
53 MaxClients 150
54 MinSpareThreads 25
55 MaxSpareThreads 75
56 ThreadsPerChild 25
57 MaxRequestsPerChild 0
58 </IfModule>
59
60 # Peruser MPM
61 # ServerLimit: Maximum value of MaxClients for this run of Apache
62 # MaxClients: Maximum number of children alive at the same time
63 # MinSpareProcessors: Minimum number of idle children,
64 # to handle request spikes
65 # MinProcessors: Minimum number of processors per vhost
66 # MaxProcessors: Maximum number of processors per vhost
67 # ExpireTimeout: Maximum idle time before a child is killed, 0 to disable
68 # Multiplexer: Specify a Multiplexer child configuration.
69 # Processor: Specify a user and group for a specific child process
70 <IfModule mpm_peruser_module>
71 ServerLimit 256
72 MaxClients 256
73 MinSpareProcessors 2
74 MaxProcessors 10
75 MaxRequestsPerChild 1000
76
77 # KeepAlive *MUST* be set to off
78 KeepAlive Off
79
80 # kill off idle processors after this many seconds
81 # set to 0 to disable
82 ExpireTimeout 1800
83
84 Multiplexer nobody nobody
85
86 Processor apache apache
87 # chroot dir is optional:
88 # Processor user group /home/user
89 </IfModule>
90
91 # vim: ts=4 filetype=apache

  ViewVC Help
Powered by ViewVC 1.1.20