-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Description
Hi, from what I observe current plugin version consumes in 2x times more CPU and 4x RAM (facing RAM limit of container) on replication from previous buildin barman solution.
Issue
There maybe be a memory leak and I can't explain to myself so significant CPU usage at all. Would be glad if it can be checked.
Environment
- ghcr.io/cloudnative-pg/plugin-barman-cloud:v0.7.0
- ghcr.io/cloudnative-pg/cloudnative-pg:1.27.0
- K8s v1.31.2
Buildin usage
From my monitoring Designated primary on buildin barman consumes 0.5 CPU and 160MiB of RAM which includes stale (not loaded with anything) postgres, so load of barman I think somewhere near 0.3-0.4 CPU and less near 90MiB.
I tried finding barman process to get exact data but from what I see there is only /controller/manager instance run --status-port-tls --log-level=info and postgres itself.
Plugin usage
From plugin I see barman as dedicated sidecar and it's load on system is significant, stable 0.9 CPU usage just for barman, and RAM usage get up to 350MiB - which is my configured RAM limit for this container:
