I am curious how hard drive space is consumed. Our install is three weeks old, low usage. The other night there was 35GB of free space, and after the Discourse update yesterday, it’s down to 31GB of space. There’s only 35MB of uploads.
We are running Ubuntu 20.04.4 LTS, 1 CPU, 2GB RAM, 50GB SSD at Digital Ocean.
Just curious why we only have 31GB of HD space left on a new install?
Thanks for helping me understanding how Discourse works!
Thanks for the response Stephen. I created the system per the Digital Ocean one click install. Initially, I had 35GB of free space on a 50GB server. I thought that was odd, but couldn’t find anything in these forums about that.
Then, only once, just the other day I rebuilt the system to learn the commands. I see a rebuild is something you should do a time or two a year. Just last night I learned about the command you just provided, but I have not run it.
I suppose the question is, on a default new system. Is 35GB remaining on a 50GB machine to be expected?
Great information. So after a rebuild or update, it’s probably a good idea to run that command.
I went ahead and did that, here’s the results:
Total reclaimed space: 5.562GB
and now…
#df -h
/dev/vda1 49G 11G 38G 22% /
That 11G looks a lot better than the 17GB from last night. This sized server should be enough for years to come. I just wanted to ensure nothing funky was going on with our instance. Thanks for shedding light on the Docker images!
Yes. You’re fine. I recommend the 50gb droplet because you don’t need to worry about space (unless you have lots of images). You can run that prune command once a year or let launcher do it automatically when you get down to 5gb.