# 当我填满我的Discourse实例的所有磁盘空间时会发生什么？

**URL:** <https://meta.discourse.org/t/what-happens-when-i-fill-all-disk-space-on-my-discourse-instance/62758>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [2017年五月15日 22:15 UTC](https://meta.discourse.org/t/what-happens-when-i-fill-all-disk-space-on-my-discourse-instance/62758 "2017-05-15T22:15:41Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![wiliamjoaquim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wiliamjoaquim/32/71571_2.png) [@wiliamjoaquim](https://meta.discourse.org/u/wiliamjoaquim)\
**Post date:** [2017年五月15日 22:15 UTC](https://meta.discourse.org/t/what-happens-when-i-fill-all-disk-space-on-my-discourse-instance/62758/1 "2017-05-15T22:15:41Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/a/4/a4681f59bccd22f0bbb18ee6dbfd220da4bbe8e0.jpg)

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?

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2017年五月15日 22:49 UTC](https://meta.discourse.org/t/what-happens-when-i-fill-all-disk-space-on-my-discourse-instance/62758/2 "2017-05-15T22:49:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![wiliamjoaquim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wiliamjoaquim/32/71571_2.png) [@wiliamjoaquim](https://meta.discourse.org/u/wiliamjoaquim)\
**Post date:** [2017年五月15日 23:01 UTC](https://meta.discourse.org/t/what-happens-when-i-fill-all-disk-space-on-my-discourse-instance/62758/3 "2017-05-15T23:01:55Z")

</div>

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)?

---

<div class="post-metadata">

**Author:** ![robbyoconnor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robbyoconnor/32/120330_2.png) [@robbyoconnor](https://meta.discourse.org/u/robbyoconnor)\
**Post date:** [2017年五月15日 23:07 UTC](https://meta.discourse.org/t/what-happens-when-i-fill-all-disk-space-on-my-discourse-instance/62758/4 "2017-05-15T23:07:28Z")

</div>

> [@wiliamjoaquim](#):
>
> E como faço para adquirir mais espaço? devo aumentar na hospedagem (Digital Ocean)?

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

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2017年五月15日 23:13 UTC](https://meta.discourse.org/t/what-happens-when-i-fill-all-disk-space-on-my-discourse-instance/62758/5 "2017-05-15T23:13:35Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![robbyoconnor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robbyoconnor/32/120330_2.png) [@robbyoconnor](https://meta.discourse.org/u/robbyoconnor)\
**Post date:** [2017年五月15日 23:13 UTC](https://meta.discourse.org/t/what-happens-when-i-fill-all-disk-space-on-my-discourse-instance/62758/6 "2017-05-15T23:13:41Z")

</div>

> [@wiliamjoaquim](#):
>
> English:  
> And how do I get more space? Should I increase in hosting (Digital Ocean)?

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…

---

<div class="post-metadata">

**Author:** ![wiliamjoaquim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wiliamjoaquim/32/71571_2.png) [@wiliamjoaquim](https://meta.discourse.org/u/wiliamjoaquim)\
**Post date:** [2017年五月16日 00:13 UTC](https://meta.discourse.org/t/what-happens-when-i-fill-all-disk-space-on-my-discourse-instance/62758/7 "2017-05-16T00:13:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![robbyoconnor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robbyoconnor/32/120330_2.png) [@robbyoconnor](https://meta.discourse.org/u/robbyoconnor)\
**Post date:** [2017年五月16日 00:38 UTC](https://meta.discourse.org/t/what-happens-when-i-fill-all-disk-space-on-my-discourse-instance/62758/8 "2017-05-16T00:38:34Z")

</div>

> [@wiliamjoaquim](#):
>
> 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?

---

<div class="post-metadata">

**Author:** ![wiliamjoaquim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wiliamjoaquim/32/71571_2.png) [@wiliamjoaquim](https://meta.discourse.org/u/wiliamjoaquim)\
**Post date:** [2017年五月16日 10:16 UTC](https://meta.discourse.org/t/what-happens-when-i-fill-all-disk-space-on-my-discourse-instance/62758/9 "2017-05-16T10:16:31Z")

</div>

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](http://projetoscnc.com.br)

---

<div class="post-metadata">

**Author:** ![robbyoconnor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robbyoconnor/32/120330_2.png) [@robbyoconnor](https://meta.discourse.org/u/robbyoconnor)\
**Post date:** [2017年五月16日 16:52 UTC](https://meta.discourse.org/t/what-happens-when-i-fill-all-disk-space-on-my-discourse-instance/62758/10 "2017-05-16T16:52:36Z")

</div>

> [@wiliamjoaquim](#):
>
> 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.

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.

---

<div class="post-metadata">

**Author:** ![srchip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/srchip/32/121073_2.png) [@srchip](https://meta.discourse.org/u/srchip)\
**Post date:** [2017年五月18日 07:34 UTC](https://meta.discourse.org/t/what-happens-when-i-fill-all-disk-space-on-my-discourse-instance/62758/11 "2017-05-18T07:34:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![robbyoconnor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robbyoconnor/32/120330_2.png) [@robbyoconnor](https://meta.discourse.org/u/robbyoconnor)\
**Post date:** [2017年五月18日 07:54 UTC](https://meta.discourse.org/t/what-happens-when-i-fill-all-disk-space-on-my-discourse-instance/62758/12 "2017-05-18T07:54:00Z")

</div>

> [@srchip](#):
>
> 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.

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2024年六月8日 12:44 UTC](https://meta.discourse.org/t/what-happens-when-i-fill-all-disk-space-on-my-discourse-instance/62758/13 "2024-06-08T12:44:46Z")

</div>

此主题已在 2580 天后自动关闭。不再允许回复。
