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
grafana-agent will keep track of all the logs files under /var/snap/charmed-postgresql/common/var/log/patroni, which causing syslog become several GB huge, spamming with logs like below:
running lsof -nP | grep '(deleted)' on the postgresql with grafana-agent, we can see if the patroni logs are getting rotated, grafana-agent couldn't handle it correctly and causing a lot of unrelease files.
A smaller number of logs files, either
a. set by default in /var/snap/charmed-postgresql/115/etc/patroni/patroni.yaml
b. have an option in charm to configure the log.file_num
Logs files are cleaned correctly
Actual behavior
You may find the logs in the summary above.
Versions
Operating system:
Ubuntu 22.04.4 LTS
Juju CLI:
3.1.8-genericlinux-amd64
Juju agent:
3.1.8
Charm revision: 425
LXD: 4.0.9
Log output
Juju debug log:
Additional context
The text was updated successfully, but these errors were encountered:
Steps to reproduce
14/edge
, revision425
/var/snap/charmed-postgresql/common/var/log/patroni
, which causingsyslog
become several GB huge, spamming with logs like below:lsof -nP | grep '(deleted)'
on the postgresql with grafana-agent, we can see if the patroni logs are getting rotated, grafana-agent couldn't handle it correctly and causing a lot of unrelease files.Expected behavior
a. set by default in
/var/snap/charmed-postgresql/115/etc/patroni/patroni.yaml
b. have an option in charm to configure the log.file_num
Actual behavior
You may find the logs in the summary above.
Versions
Operating system:
Ubuntu 22.04.4 LTS
Juju CLI:
3.1.8-genericlinux-amd64
Juju agent:
3.1.8
Charm revision: 425
LXD: 4.0.9
Log output
Juju debug log:
Additional context
The text was updated successfully, but these errors were encountered: