Disk usage shown in admin area seems off
Zendesk: https://gitlab.zendesk.com/agent/tickets/57626 (For reference only - all necessary information is in this issue)
A customer has noticed that the mentioned disk usage in the admin area is off by several GB. Actual usage is about 8GB but the UI shows 10GB used. Total disk seem accurate. I did some debugging and ran various Sys::Filesystem
calls, similar to what's in SystemInfoController
and see the same results as the admin area. I suspect Sys::Filesystem
is including some filesystem cache or usage other than actual static files. I didn't see any other methods in Sys::Filesystem
that would be more accurate - so maybe it's a bug there. It would be nice to improve the accuracy, though.