リビルドのメモリ要件が高い:2025年4月版

テストが完了しました。

以下のプラグインを使用して構築しました。

https://github.com/discourse/docker_manager.git
https://github.com/discourse/discourse-data-explorer
https://github.com/communiteq/discourse-legal-compliance
https://github.com/pfaffman/discourse-allow-pm-to-staff
https://github.com/singerscreations/discourse-stopforumspam
https://github.com/discourse/discourse-cakeday

スワップは無効になっていたため、RAMは4GiB/3.8GBのみでした。

ビルド中の最大メモリ使用量は3.4GBでした。ビルド時間は6分48秒でした。

「いいね!」 4

問題はスワップファイルでした。0GBから2GBに増やしたところ、今のところすべて順調です。

sudo fallocate -l 2G /swapfile        
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab

サーバーのターミナルで実行してください。その後、再構築してください。

「いいね!」 2