From 3f0cf4ff4d7a8e4c840dc2e78afeb8b16bf621d5 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Thu, 12 Mar 2026 10:01:20 +0000 Subject: [PATCH] stabilize Nextcloud: relax probes, reduce resources for 2-client SQLite workload MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SQLite locks cause slow responses under concurrent access, triggering liveness probe failures and restarts. With only 2 sync clients: - Liveness: period 30→60s, timeout 10→30s, failures 6→10 (tolerates 10min) - Readiness: period 30→60s, timeout 10→30s, failures 3→5 - Startup: timeout 10→30s - Resources: CPU 16→4, memory 6Gi→3Gi (10 workers × 200MB = 2GB max) [ci skip] Co-Authored-By: Claude Opus 4.6 (1M context) --- stacks/nextcloud/chart_values.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/stacks/nextcloud/chart_values.yaml b/stacks/nextcloud/chart_values.yaml index ff6d4183..c303cdf8 100644 --- a/stacks/nextcloud/chart_values.yaml +++ b/stacks/nextcloud/chart_values.yaml @@ -67,24 +67,24 @@ startupProbe: enabled: true initialDelaySeconds: 30 periodSeconds: 10 - timeoutSeconds: 10 + timeoutSeconds: 30 failureThreshold: 60 successThreshold: 1 livenessProbe: enabled: true - initialDelaySeconds: 10 - periodSeconds: 30 - timeoutSeconds: 10 - failureThreshold: 6 + initialDelaySeconds: 30 + periodSeconds: 60 + timeoutSeconds: 30 + failureThreshold: 10 successThreshold: 1 readinessProbe: enabled: true - initialDelaySeconds: 10 - periodSeconds: 30 - timeoutSeconds: 10 - failureThreshold: 3 + initialDelaySeconds: 30 + periodSeconds: 60 + timeoutSeconds: 30 + failureThreshold: 5 successThreshold: 1 podAnnotations: @@ -96,11 +96,11 @@ collabora: resources: limits: - cpu: "16" - memory: 6Gi + cpu: "4" + memory: 3Gi requests: cpu: 100m - memory: 1Gi + memory: 512Mi cronjob: enabled: true