[GH-ISSUE #234] [Bug] App uses a lot of disk space #3124

Closed
opened 2026-05-24 13:34:13 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @CrazyWolf13 on GitHub (Mar 18, 2026).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/234

Originally assigned to: @arunavo4 on GitHub.

Hi,

Since a recent update disk size has been increasing drastically, talking about 32GB in a very short time.

I have automatic cleanup set to 2 Months and mirror to daily, though not really changed them recently.

I mirror the proxmox org, a couple of my repos and community-scripts.

Is it really expected to use so much disk space?

root@gitea-mirror:~# du -h --max-depth=1 /opt/gitea-mirror/data | sort -hr
17G     /opt/gitea-mirror/data/repo-backups
17G     /opt/gitea-mirror/data
root@gitea-mirror:~# du -h --max-depth=1 /opt/gitea-mirror/data/repo-backups/ | sort -hr
17G     /opt/gitea-mirror/data/repo-backups/cgINKObx5R3XUQpzDS7JpVIZvnnGPvKy
17G     /opt/gitea-mirror/data/repo-backups/
root@gitea-mirror:~# du -h --max-depth=1 /opt/gitea-mirror/data/repo-backups/
cgINKObx5R3XUQpzDS7JpVIZvnnGPvKy/ | sort -hr
17G     /opt/gitea-mirror/data/repo-backups/cgINKObx5R3XUQpzDS7JpVIZvnnGPvKy/
11G     /opt/gitea-mirror/data/repo-backups/cgINKObx5R3XUQpzDS7JpVIZvnnGPvKy/proxmox
5.6G    /opt/gitea-mirror/data/repo-backups/cgINKObx5R3XUQpzDS7JpVIZvnnGPvKy/crazywolf13-mirror
759M    /opt/gitea-mirror/data/repo-backups/cgINKObx5R3XUQpzDS7JpVIZvnnGPvKy/community-scripts
root@gitea-mirror:~# du -h --max-depth=1 /opt/ | sort -hr
36G     /opt/
17G     /opt/gitea-mirror-backup
17G     /opt/gitea-mirror
2.2G    /opt/bun
4.0K    /opt/gitea-mirror-data

EDIT: seems like 17GB come from a backup of mine, so it's "only" 17GB, but that is still quite a lot, no?

Originally created by @CrazyWolf13 on GitHub (Mar 18, 2026). Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/234 Originally assigned to: @arunavo4 on GitHub. Hi, Since a recent update disk size has been increasing drastically, talking about 32GB in a very short time. I have automatic cleanup set to 2 Months and mirror to daily, though not really changed them recently. I mirror the proxmox org, a couple of my repos and community-scripts. Is it really expected to use so much disk space? ```bash root@gitea-mirror:~# du -h --max-depth=1 /opt/gitea-mirror/data | sort -hr 17G /opt/gitea-mirror/data/repo-backups 17G /opt/gitea-mirror/data root@gitea-mirror:~# du -h --max-depth=1 /opt/gitea-mirror/data/repo-backups/ | sort -hr 17G /opt/gitea-mirror/data/repo-backups/cgINKObx5R3XUQpzDS7JpVIZvnnGPvKy 17G /opt/gitea-mirror/data/repo-backups/ root@gitea-mirror:~# du -h --max-depth=1 /opt/gitea-mirror/data/repo-backups/ cgINKObx5R3XUQpzDS7JpVIZvnnGPvKy/ | sort -hr 17G /opt/gitea-mirror/data/repo-backups/cgINKObx5R3XUQpzDS7JpVIZvnnGPvKy/ 11G /opt/gitea-mirror/data/repo-backups/cgINKObx5R3XUQpzDS7JpVIZvnnGPvKy/proxmox 5.6G /opt/gitea-mirror/data/repo-backups/cgINKObx5R3XUQpzDS7JpVIZvnnGPvKy/crazywolf13-mirror 759M /opt/gitea-mirror/data/repo-backups/cgINKObx5R3XUQpzDS7JpVIZvnnGPvKy/community-scripts root@gitea-mirror:~# du -h --max-depth=1 /opt/ | sort -hr 36G /opt/ 17G /opt/gitea-mirror-backup 17G /opt/gitea-mirror 2.2G /opt/bun 4.0K /opt/gitea-mirror-data ``` EDIT: seems like 17GB come from a backup of mine, so it's "only" 17GB, but that is still quite a lot, no?
Author
Owner

@arunavo4 commented on GitHub (Mar 18, 2026):

there is a feature to backup before sync. is possible to share some of your config ? from the UI? @CrazyWolf13

<!-- gh-comment-id:4080345512 --> @arunavo4 commented on GitHub (Mar 18, 2026): there is a feature to backup before sync. is possible to share some of your config ? from the UI? @CrazyWolf13
Author
Owner

@CrazyWolf13 commented on GitHub (Mar 18, 2026):

Hi, appreciate the quick fix!

I think this may be relevant:

Image Image

Thanks!

<!-- gh-comment-id:4081090447 --> @CrazyWolf13 commented on GitHub (Mar 18, 2026): Hi, appreciate the quick fix! I think this may be relevant: <img width="803" height="837" alt="Image" src="https://github.com/user-attachments/assets/41905691-45e4-45ea-8c69-2c63cb3cb43a" /> <img width="1604" height="624" alt="Image" src="https://github.com/user-attachments/assets/b96a0823-b463-40e9-9ad3-a1a52ab3bdc2" /> Thanks!
Author
Owner

@arunavo4 commented on GitHub (Mar 18, 2026):

@CrazyWolf13 let me know if the latest release with the fixes help. after a month or so.

<!-- gh-comment-id:4082438985 --> @arunavo4 commented on GitHub (Mar 18, 2026): @CrazyWolf13 let me know if the latest release with the fixes help. after a month or so.
Author
Owner

@CrazyWolf13 commented on GitHub (Mar 18, 2026):

Thanks, will check!

<!-- gh-comment-id:4082730878 --> @CrazyWolf13 commented on GitHub (Mar 18, 2026): Thanks, will check!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea-mirror#3124