Fix ClickHouse OOM during Proxmox nightly backups
All checks were successful
CI / build (push) Successful in 48s
CI / docker (push) Successful in 1m36s
CI / deploy (push) Successful in 20s

Increase ClickHouse memory limit from 1Gi to 2Gi and reduce default
batch size from 5000 to 500. During VM backup snapshots, I/O contention
prevents ClickHouse from flushing writes fast enough, causing buffer
accumulation that exceeds the 1Gi container limit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-03-13 09:55:46 +01:00
parent a44a0c970b
commit 88da1a0dd8
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ spec:
memory: "512Mi"
cpu: "200m"
limits:
memory: "1Gi"
memory: "2Gi"
cpu: "1000m"
volumeClaimTemplates:
- metadata: