aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2025-01-24 11:17:14 +0000
committerdanielhanrahan <daniel.hanrahan@est.tech>2025-01-24 11:51:41 +0000
commit607b2bf287aa6c40329c5d5bf4eaf235bd090e47 (patch)
tree14ae1eed052db6bc66870a848bbcab9d809abd72 /docker-compose
parent4d050cff4b62e1feec3879904f83dbe05b45ee62 (diff)
[k6] 50000 CM-handles
- Increase CM-handles to 50000 in k6 tests - Increase container memory to 3GB (crashes with 2GB) - Decrease max heap percentage to 70% to ensure container has at least 200MB free memory, to prevent JVM from crashing at higher peak loads. Issue-ID: CPS-2584 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I8daabff58723114bdc3838b379e83c3ffbbb0ba9
Diffstat (limited to 'docker-compose')
-rw-r--r--docker-compose/docker-compose.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml
index c9df8b9889..84cd789285 100644
--- a/docker-compose/docker-compose.yml
+++ b/docker-compose/docker-compose.yml
@@ -68,7 +68,7 @@ services:
ONAP_OTEL_EXPORTER_ENDPOINT: http://jaeger-service:4317
POLICY_SERVICE_ENABLED: 'false'
POLICY_SERVICE_DEFAULT_DECISION: 'deny from env'
- JAVA_TOOL_OPTIONS: "-XX:InitialRAMPercentage=75.0 -XX:MaxRAMPercentage=75.0"
+ JAVA_TOOL_OPTIONS: "-XX:InitialRAMPercentage=70.0 -XX:MaxRAMPercentage=70.0"
### DEBUG: Uncomment next line to enable java debugging
### JAVA_TOOL_OPTIONS: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
restart: unless-stopped
@@ -80,7 +80,7 @@ services:
resources:
limits:
cpus: '3'
- memory: 2G
+ memory: 3G
nginx:
container_name: ${NGINX_CONTAINER_NAME:-nginx-loadbalancer}