Ever hit your disk limit and had no idea what was actually using it? 1.4.2 fixes that.

Disk Usage
There's a new page under Tools → Disk Usage. It measures every folder on your server and shows you where the space actually went.
You get a sortable folder tree with a percentage bar on each row, next to a sunburst chart of the whole server. Click any segment to drill into it, hover to see what it is, and switch to a treemap view if you prefer rectangles to rings. Double-click a folder in the list to zoom into it.
It's the sort of thing that makes a problem obvious in about two seconds. One of our own test servers turned out to be sitting on 12 GB of variable backups nobody knew was there.
Folder sizes in the file manager
The Size column in your file manager used to just show a dash for folders. Now it shows the real, fully recursive size.
They fill in a moment after the file list appears, because measuring a folder means adding up everything inside it. If a folder is too large to measure completely you'll see ≥ 4.2 GB rather than a wrong number we'd rather tell you it's a floor than quietly under-report.
Why it's fast
This is the interesting part.
Pterodactyl can tell you a file's size, but never a folder's. So working out how big a folder is means walking the entire tree and adding it up, one API call per folder. On a server with a few thousand folders that took over a minute, and all of that work landed on the machine running the panel, which slowed things down for everyone else on it.
So we moved the work to where the files actually are. Each of our nodes now runs a small read-only service that measures its own disk locally and hands back a summary. Same answer, no API calls, no waiting.
A scan that took over a minute now takes about a tenth of a second.
It's read-only and it can only see metadata, folder names, sizes and timestamps. It can't read the contents of your files, and it can't write, move, or delete anything. It only answers requests from the panel over our private network, and the panel checks your permissions before it asks. If a node ever doesn't respond, the panel quietly falls back to the old method, so the page keeps working either way!
Also in this release
- Scans no longer report different totals each time you ran them. Under heavy load some folders were being silently counted as empty, which made the numbers drift between scans.
- The chart now matches the rest of the panel properly, and the loading indicator no longer dims the page while a scan runs, so you can keep reading the previous result.
Issues or something looking wrong? Open a ticket and we'll take a look.