Comment on Forgejo fills up hard drive with repo-archives
Black616Angel@discuss.tchncs.de 1 day ago
I’ve searched the docs a bit and found this setting: forgejo.org/docs/latest/…/config-cheat-sheet/#quo…
It seems to be partially for your case, though I don’t see artifacts, but you could limit all of forgejo to like 5GB and probably be good.
jeena@piefed.jeena.net 1 day ago
Hm, I'm afraid none of them really seems to cover the repo-archives case, therefor I'm afraid the size:all doesn't include the repo-archives either.
But I'm running it in a container, perhaps I can limit the size the container gets assigned.
Black616Angel@discuss.tchncs.de 1 day ago
It kinda seems like it. Docker apparently does have this functionality as seen here: stackoverflow.com/questions/40494536/…/40499023#4…
You could try limiting it to 5 GB using the forgejo settings and 7GB using docker and then just look, how big it is.
jeena@piefed.jeena.net 1 day ago
Hm, but this only works on tmpfs which is in memory. It seems that with XFS I could have done it too: https://fabianlee.org/2020/01/13/linux-using-xfs-project-quotas-to-limit-capacity-within-a-subdirectory/ but I used ext4 out of habit.