getsentry / self-hosted

Sentry, feature-complete and packaged up for low-volume deployments and proofs-of-concept
https://develop.sentry.dev/self-hosted/
Other
7.75k stars 1.75k forks source link

Release file cleanup and standardisation #3334

Open sree-warrier opened 1 day ago

sree-warrier commented 1 day ago

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

bijancot commented 5 hours ago

Hi,

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.

and if you want to set the retention period you can take a look at .env https://github.com/getsentry/self-hosted/blob/master/.env#L3 but you need to rerun install process anddocker compose up i think for better result

Cheers Baskoro