blob: 88220d935c28123c095a350789c59ded5dd90446 [file] [log] [blame]
Filip Pytloun410abc42015-10-06 16:28:31 +02001applications:
2- apache
Ales Komarek745dd492015-12-03 15:04:35 +01003classes:
4- service.apache.support
Filip Pytloun410abc42015-10-06 16:28:31 +02005parameters:
6 apache:
7 server:
8 enabled: true
9 bind:
10 address: 0.0.0.0
11 ports:
12 - 80
13 - 443
14 protocol: tcp
15 modules:
16 - ssl
17 - rewrite
Filip Pytlounc135fa52015-11-25 12:28:45 +010018 mpm:
19 prefork:
20 enabled: true
21 servers:
22 start: 5
23 spare:
Filip Pytloun28946ff2015-11-25 12:39:40 +010024 min: ${apache:server:mpm:prefork:servers:start}
Filip Pytlounc135fa52015-11-25 12:28:45 +010025 max: 10
26 # Avoid memory leakage by restarting workers every x requests
27 max_requests: 0
28 # Should be 80% of server memory / average memory usage of one worker
29 max_clients: 150
30 # Should be same or more than max clients
Filip Pytloun28946ff2015-11-25 12:39:40 +010031 limit: ${apache:server:mpm:prefork:max_clients}
Filip Pytlounc135fa52015-11-25 12:28:45 +010032 event:
33 enabled: false
Filip Pytlounaffb18d2016-02-22 13:58:27 +010034 servers:
35 start: 5
36 spare:
37 min: 25
38 max: 75
39 # Avoid memory leakage by restarting workers every x requests
40 max_requests: 0
41 # Should be 80% of server memory / average memory usage of one worker
42 max_clients: 150
43 limit: 64
44 threads_per_child: 25
Filip Pytlounc135fa52015-11-25 12:28:45 +010045 worker:
46 enabled: false
Filip Pytlounaffb18d2016-02-22 13:58:27 +010047 servers:
48 start: 5
49 spare:
50 min: 25
51 max: 75
52 # Avoid memory leakage by restarting workers every x requests
53 max_requests: 0
54 # Should be 80% of server memory / average memory usage of one worker
55 max_clients: 150
56 limit: 64
57 threads_per_child: 25