[Bug] App uses a lot of disk space #105

Closed
opened 2026-10-05 01:41:48 +02:00 by adam · 6 comments
Owner

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?

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? <!-- github-sync-id:4093301015 -->
adam closed this issue 2026-10-05 01:41:48 +02:00
Author
Owner

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

there is a feature to backup before sync. is possible to share some of your config ? from the UI? @CrazyWolf13 <!-- github-comment-id:4080345512 -->
Author
Owner

Hi, appreciate the quick fix!

I think this may be relevant:

Image Image

Thanks!

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! <!-- github-comment-id:4081090447 -->
Author
Owner

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

@CrazyWolf13 let me know if the latest release with the fixes help. after a month or so. <!-- github-comment-id:4082438985 -->
Author
Owner

Thanks, will check!

Thanks, will check! <!-- github-comment-id:4082730878 -->
Author
Owner

Hi,

I still have issues with disk space, I'm now at 32GB without the backups from our script, so essentially double the size than just 1.5 months ago.

I don't think I have particularly size intensive repositories:

Image Image

My whole forgejo container sits at just 19GB.

Can you tell me if this is really expected to grow this quickly?

Hi, I still have issues with disk space, I'm now at 32GB without the backups from our script, so essentially double the size than just 1.5 months ago. I don't think I have particularly size intensive repositories: <img width="662" height="287" alt="Image" src="https://github.com/user-attachments/assets/3d65e012-22c2-490a-8151-68f59cf9d1de" /> <img width="655" height="118" alt="Image" src="https://github.com/user-attachments/assets/fe002af8-ff7b-4c88-9dd7-b0fea15780b7" /> My whole forgejo container sits at just 19GB. Can you tell me if this is really expected to grow this quickly? <!-- github-comment-id:4573175121 -->
Author
Owner

@CrazyWolf13 havnt got any similar reports from other users. I will cehck mine and let you know

@CrazyWolf13 havnt got any similar reports from other users. I will cehck mine and let you know <!-- github-comment-id:4573445932 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/gitea-mirror#105