Canapin
(Coin-coin le Canapin)
2025 年3 月 25 日 09:04
10
Try creating a swap:
For servers with <= 2GB of RAM, running ./discourse-setup will prompt for and automatically create a 2GB swapfile.
Most cloud virtual machine providers do not set up swapfiles as part of their server provisioning.
In particular, upgrading Discourse produces a lot of memory pressure. With a swap file, rather than randomly terminating processes with an out of memory error, things will slow down instead. Having a swap file is a cheap insurance policy that protects you from many other lo…
It seems that this error message has been very common lately, and was always fixed by creating swap. I don’t know why since Discourse’s official requirements have not changed.
2 个赞