What happens when I fill all disk space on my Discourse instance?

AI-generated summary

In a discussion titled “What happens when I fill all disk space on my Discourse instance?”, user wiliamjoaquim asks what occurs when the 30.6GB of free disk space is exhausted, particularly concerned about file uploads since their forum allows users to share files up to 3.5MB each. Falco warns that filling the main disk will cause the site to stop working, and suggests upgrading hosting (e.g., Digital Ocean) for more space, noting that text-based forums typically consume little space. robbyoconnor advises using English for broader community help and reassures wiliamjoaquim that 30GB is ample for now, recommending monitoring usage and only upgrading when disk space exceeds 80%. wiliamjoaquim notes their forum has 275 members and is growing rapidly, with most users sharing downloadable files. srchip shares personal experience: running out of space causes database failures and site downtime, which resolves once space is freed. robbyoconnor reiterates that proactive upgrades aren’t necessary until metrics indicate real need, advocating for monitoring and scaling only when essential.

I have a question about this.

I have 30.6 gb free right? What happens when I reach this limit? I will not be able to upload files anymore?

How it works?

That’s probably your main disk, so if you fill that up, your site will stop working.

E como faço para adquirir mais espaço? devo aumentar na hospedagem (Digital Ocean)?

English:
And how do I get more space? Should I increase in hosting (Digital Ocean)?

Would be better if Englsh were used so others can help you :slight_smile:

You can pay more money for Digital Ocean, and they will gladly give you more space.

Keep in mind, this space will last a lot of time in a discussion board, since text doesn’t take too much space.

I don’t think you need it right now… do you REALLY think you’re gonna fill up 30GB? I’m a firm believer in only upping resources when it’s needed…

In my forum users make available files and projects, so believe that it occupies many spaces, the maximum of each file is 3.5Mb

Worry about it when the time comes. Not dismissing your concern, but it’s not warranted quite yet. How large is your site?

Is a site with only 275 members, but I acquired it in just 3 days, I believe it will grow, almost all users will have available files to download.
http://projetoscnc.com.br

Again, cross that bridge when you get to it. This is what I’d do (I do primarily devops): Monitor disk space and if disk space usage exceeds 80% – worry – until then – relax. Why are you gonna pay for more disk space than you actually need.

Unless you are currently using 80% of your disk space, stop worrying. In servers I manage, I will usually only add storage and/or RAM if I need it – not before.

Oh, I’ve run out of free space in a private discourse instance many times. What happens is that the database operations fail. And the whole site goes offline. It recovers as soon as there’s free space in the instance.

That can and may happen – HOWEVER, do not do anything until there is a need. You should be keeping an eye on disk space and system metrics anyways.