Add Rocky configs to Horizon
Change-Id: If37587f29c2054f89716c4797a9547538b3938fe
Related-Prod: PROD-23724 (PROD:23724)
diff --git a/tests/pillar/single.sls b/tests/pillar/single.sls
index d7ca2f2..34ca7a6 100644
--- a/tests/pillar/single.sls
+++ b/tests/pillar/single.sls
@@ -1,5 +1,3 @@
-include:
- - .apache_single
horizon:
server:
enabled: true
@@ -78,3 +76,54 @@
name: "Material"
description: "Google's Material Design style theme"
path: "themes/material"
+
+apache:
+ server:
+ enabled: true
+ bind:
+ address: 0.0.0.0
+ ports:
+ - 80
+ - 443
+ protocol: tcp
+ modules:
+ - ssl
+ - rewrite
+ default_mpm: prefork
+ mpm:
+ prefork:
+ servers:
+ start: 5
+ spare:
+ min: ${apache:server:mpm:prefork:servers:start}
+ max: 10
+ # Avoid memory leakage by restarting workers every x requests
+ max_requests: 0
+ # Should be 80% of server memory / average memory usage of one worker
+ max_clients: 150
+ # Should be same or more than max clients
+ limit: ${apache:server:mpm:prefork:max_clients}
+ event:
+ servers:
+ start: 5
+ spare:
+ min: 25
+ max: 75
+ threads_per_child: 25
+ # Avoid memory leakage by restarting workers every x requests
+ max_requests: 0
+ # Should be 80% of server memory / average memory usage of one worker
+ max_clients: 150
+ limit: 64
+ worker:
+ servers:
+ start: 5
+ spare:
+ min: 25
+ max: 75
+ threads_per_child: 25
+ # Avoid memory leakage by restarting workers every x requests
+ max_requests: 0
+ # Should be 80% of server memory / average memory usage of one worker
+ max_clients: 150
+ limit: 64