# 是否应该将我的交换文件从 2GB 增加？

**URL:** <https://meta.discourse.org/t/should-i-increase-the-swap-file-from-2gb/391808>\
**Category:** Self-hosting\
**Created:** [2025 年12 月 20 日 16:34 UTC](https://meta.discourse.org/t/should-i-increase-the-swap-file-from-2gb/391808 "2025-12-20T16:34:07Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
发布日期： [2025 年12 月 21 日 05:27 UTC](https://meta.discourse.org/t/should-i-increase-the-swap-file-from-2gb/391808/4 "2025-12-21T05:27:19Z")

</div>

我没有看到提到交换分区？

> [@alltiagocom](#):
>
> 它创建了 2GB 的交换文件

我认为 2GB 交换分区 + 4GB 内存是足够的。除非你还在服务器上运行其他东西，否则我认为你不需要更多的交换空间。

---

_[View the full topic](https://meta.discourse.org/t/should-i-increase-the-swap-file-from-2gb/391808)._
