blob: a80124b702cd2a3785d4bbfc765077e24f846f5c [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 Pytlounf6f69c32016-02-22 15:01:02 +010018 default_mpm: prefork
Filip Pytlounc135fa52015-11-25 12:28:45 +010019 mpm:
20 prefork:
Filip Pytlounc135fa52015-11-25 12:28:45 +010021 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:
Filip Pytlounaffb18d2016-02-22 13:58:27 +010033 servers:
34 start: 5
35 spare:
36 min: 25
37 max: 75
Filip Pytloun7865ef32016-02-22 14:49:28 +010038 threads_per_child: 25
Filip Pytlounaffb18d2016-02-22 13:58:27 +010039 # 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
Filip Pytlounc135fa52015-11-25 12:28:45 +010044 worker:
Filip Pytlounaffb18d2016-02-22 13:58:27 +010045 servers:
46 start: 5
47 spare:
48 min: 25
49 max: 75
Filip Pytloun7865ef32016-02-22 14:49:28 +010050 threads_per_child: 25
Filip Pytlounaffb18d2016-02-22 13:58:27 +010051 # Avoid memory leakage by restarting workers every x requests
52 max_requests: 0
53 # Should be 80% of server memory / average memory usage of one worker
54 max_clients: 150
55 limit: 64