mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
More effective wings disk quota enforcement #18
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iamkubi on GitHub (Apr 19, 2024).
Originally assigned to: @parkervcp on GitHub.
Currently disk quota enforcement only happens on a set interval, and it's way too long (I believe necessarily for performance reasons). We should improve the way quota is enforced to prevent attacks that exploit this enforcement interval to consume more disk than allowed.
A previous attempt had been made to implement virtual disks, but that didn't end up getting implemented, not sure why. The existing UFS filesystem appears to implement quotas, not sure if those work, but presumably not given the wings disk enforcement is still present.
Further investigation needed to figure out what exists and what a good path forward would be.