You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you setup a CrunchyDB cluster using an external repo with s3, the Standby Cluster will create this log: /pgdata/pgbackrest/log/db-archive-get-async.log that gets updated every time it syncs from s3 which looks to be every 5-10 seconds. Since logrotate doesn't seem to be enabled by default on this folder (like it is for /pgdata/pg17/log) this log will continue to grow and eventually cause the space in the pgdata PVC to get exhausted.
Environment
Please provide the following details:
Platform: OpenShift
Platform Version: 4.16
PGO Image Tag: ubi8-17.0-3.4-0
Postgres Version: 17
Storage: s3
Steps to Reproduce
REPRO
Setup a Primary and Standby Cluster for Crunchy using the External S3 Repo method.
On the Standby Cluster monitor the /pgdata/pgbackrest/log/db-archive-get-async.log size and watch it grow.
EXPECTED
This log file gets rotated like the logs in /pgdata/pg17/log
ACTUAL
The log file keeps growing till the space on the PVC is exhausted.
I see this was merged in recently: #4108 however it looks like they put the logrotate function behind a feature flag for Open Telemetry. This issue would affect anyone that has a cluster setup in Standby mode, so I would suggest not putting it behind the feature flag for Open Telemetry.
The text was updated successfully, but these errors were encountered:
Overview
If you setup a CrunchyDB cluster using an external repo with s3, the Standby Cluster will create this log:
/pgdata/pgbackrest/log/db-archive-get-async.log
that gets updated every time it syncs from s3 which looks to be every 5-10 seconds. Since logrotate doesn't seem to be enabled by default on this folder (like it is for /pgdata/pg17/log) this log will continue to grow and eventually cause the space in the pgdata PVC to get exhausted.Environment
Please provide the following details:
Steps to Reproduce
REPRO
/pgdata/pgbackrest/log/db-archive-get-async.log
size and watch it grow.EXPECTED
This log file gets rotated like the logs in
/pgdata/pg17/log
ACTUAL
The log file keeps growing till the space on the PVC is exhausted.
Logs
Additional Information
I see this was merged in recently: #4108 however it looks like they put the logrotate function behind a feature flag for Open Telemetry. This issue would affect anyone that has a cluster setup in Standby mode, so I would suggest not putting it behind the feature flag for Open Telemetry.
The text was updated successfully, but these errors were encountered: