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
Where the release files are stored (Assuming it to the filestore(disk/buckets), please do correct if its are wrong) ?
How the release files are been cleaned ? While checking we found that with the retention we set is not doing the cleanup activity with releases. Any configuration referring to the release retentions ? Any standard practice to follow on release file maintenance, as its filling the disk.
Solution Brainstorm
NA
The text was updated successfully, but these errors were encountered:
Do you have any information which services/container that data filling up your disk? Long time ago i have issue with the postgresql even after execute cleanup manually. It turns out in my case i need to also do a vacuum in purpose to reclaim the disk.
Make docker-compose.override.yml with content below:
x-restart-policy: &restart_policy
restart: unless-stopped
services:
disk-cleanup:
<<: *restart_policy
image: sentry-cleanup-self-hosted-local
build:
context: ./cron
args:
BASE_IMAGE: sentry-self-hosted-local
entrypoint: "/entrypoint.sh"
command: '"0 0 * * * find /_data/files -type d -empty | xargs -r rmdir"'
volumes:
- sentry-data:/_data
disk-cleanup-files:
<<: *restart_policy
image: sentry-cleanup-self-hosted-local
build:
context: ./cron
args:
BASE_IMAGE: sentry-self-hosted-local
entrypoint: "/entrypoint.sh"
environment:
# Leaving the value empty to just pass whatever is set
# on the host system (or in the .env file)
SENTRY_EVENT_RETENTION_DAYS:
command: '"0 30 * * * find /_data/files -type f -atime +$SENTRY_EVENT_RETENTION_DAYS -delete"'
volumes:
- sentry-data:/_data
and run ./install.sh to install new services. They will clean outdated files and empty directories every day. You can also manually run commands from services to see effects immediately.
Problem Statement
Where the release files are stored (Assuming it to the filestore(disk/buckets), please do correct if its are wrong) ?
How the release files are been cleaned ? While checking we found that with the retention we set is not doing the cleanup activity with releases. Any configuration referring to the release retentions ? Any standard practice to follow on release file maintenance, as its filling the disk.
Solution Brainstorm
NA
The text was updated successfully, but these errors were encountered: