# 升级过程中整机挂起

**URL:** https://meta.discourse.org/t/whole-machine-hangs-during-upgrade/293592
**Category:** Self-hosting
**Tags:** server-resources
**Created:** [2024年一月31日 06:21 UTC](https://meta.discourse.org/t/whole-machine-hangs-during-upgrade/293592 "2024-01-31T06:21:15Z")
**Posts on this page:** 1
**Showing post:** 14

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [2024年二月2日 07:21 UTC](https://meta.discourse.org/t/whole-machine-hangs-during-upgrade/293592/14 "2024-02-02T07:21:00Z")

</div>

因此，在构建时，4 GB 刚好处于边缘，如果我们假设最后一个截图显示了最紧张的时刻。

这是我无法理解的另一件事：为什么其他人会遇到内存不足的问题，而我却使用了大量插件和组件，却没有任何问题 🤔 是什么造成了这种差异？

我之所以使用_过去时_，是因为现在我拥有 8 GB 内存，这得益于 AI（对我来说，价格差异并不重要，但那是另一回事）。

这个帖子应该移到别处吗，还是我们将其视为解释为什么使用交换空间有帮助的帖子？

总之。对于其他初学者来说，这是一个关于内存不足及其原因的讨论示例：

> [@Problem with Upgrade \[error 137\]](https://meta.discourse.org/t/problem-with-upgrade/293652):
>
> For [standard install](https://meta.discourse.org/t/142537?silent=true) site have this error log for most recent upgrade: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* \*\*\* Please be patient, next steps might take a while \*\*\* \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Cycling Unicorn, to free up memory Restarting unicorn pid: 545 Waiting for Unicorn to reload. Waiting for Unicorn to reload.. Waiting for Unicorn to reload... Waiting for Unicorn to reload.... Waiting for Unicorn to reload..... Waiting for Unicorn to reloa…

这是一个在升级失败时经常被问到的 FAQ 问题。但原因很少被解释。

---

_[View the full topic](https://meta.discourse.org/t/whole-machine-hangs-during-upgrade/293592)._
