When I last checked (via Webmin) the local disk space on my VPS (which was some time on Tuesday afternoon) I was at 62% (of 143/158 GB) full, which is a good amount for the start of an academic year.
When I checked today, it was at 95% and filling rapidly, despite no backups having been scheduled, no (planned) additions to the Websites or disks. As I was trying trying to puzzle out what had happened, I could see the percentage full creeping up until, at one point it hit 100% and Moodle crashed.
I was able to delete about 200 MB of media files from the repository, at which point I was able to put Moodle into maintenance mode via command line.
I could find nothing amiss, however: I used Moosh file-dbcheck to locate some orphaned files and deleted those using the FileTrash plugin, then deleted a number of backups of course backups and successfully got disk usage down to 95%, but I can find no processes running that should be not,
At present, I've taken Moodle out of maintenance mode and disk space is not running out on its own, but I am at a loss regarding how to regain the lost space, what's occupying it, and how to prevent its being filled again, presuming I am able to recover the space.
General specs:
- Ubuntu 20.04.4 on virtual private server (Kernel 5.15.0-22)
- NginX 1.21.4
- Moodle 3.11.5+, build 20220308
- mariadb 10.5.15
- php 7.4.3
- all recommended extensions installed and without problem reports
- 47 Additional plugins, but none that have proved problematic until now