Artifacts file system filling up since 14.7.1 upgrade
Since we upgraded to 14.7.1, our artifacts file system is filling up faster than before.
I ran several orphan cleanup tasks for artifacts, and they had no effect, despite listing > 8000 artifacts to be deleted during the first run (and yes, I did include DRY_RUN=false for the “real” run). Subsequent runs showed < 10 orphan artifacts to clean up. Since those runs, disk usage on the fs has increased from 70% to 87%, and it’s not a small fs. None of the runs showed any significant reduction in disk usage.
We have the “Keep the latest artifacts for all jobs in the latest successful pipelines” box unchecked instance-wide, since that bit us hard when it was introduced at the project level.
I have run orphan cleanups before (on earlier Gitlab releases), and they have reclaimed significant disk space, so this seems to be new.
I am aware of this issue: Clean up old expired job artifacts (#322817) · Issues · GitLab.org / GitLab · GitLab about cleaning up old expired artifacts, and we do have a lot of artifacts dating back to 2018-2019 that I would like to delete. I’m just not sure of the best way to do that before the fixes described in that issue are released.
If anyone can confirm that 14.7.2 or .3 will clean up old artifacts, we will go to it asap. If it’s safe to delete artifacts from 2018-2019 from the fs without db repercussions, we’ll do that. I’d just like reassurance from someone who is wiser than I.
Many thanks for any guidance!
Leslie