Database backups for VCF Automation (VCFA) fail consistently during the backup process. Logs indicate that the backup script fails with exit code -9 (SIGKILL). Upon inspecting the pod status, the walg sidecar container is found to be in an OOMKilled state (Exit Code 137), indicating that the process is exceeding its allocated memory limit.
Symptoms:
walg container logs show: reason: OOMKilled and exitCode: 137.kubectl describe pod output for the PostgreSQL instance confirms that the walg container limit is set to 768Mlimits: cpu: "1" memory: 768MiVCF Automation 9.x
The default memory limit of 768Mi assigned to the walg sidecar container is insufficient for the tar bundling operations performed during the database backup, specifically when the database size or the volume of logs being processed leads to memory exhaustion. This results in the OOMKiller terminating the container.
To resolve this, you must increase the postgresBackupSidecarMemoryLimit in the PackageDeployment for vmsp-platform.
Edit the PackageDeployment: Execute the following command to edit the vmsp-platform deployment:
kc edit pd vmsp-platform
postgresBackupSidecarMemoryLimit parameter and update it from 768Mi (or current value) to 1Gi:values: postgresBackupSidecarMemoryLimit: 1Gi