The discussion revolves around including swapfile creation in the official Discourse installation guide. Don suggests adding the guide from meta.discourse.org, as they often forget to set up a swapfile after installation, especially after migrating from DigitalOcean to Vultr, where automatic swap creation doesn’t occur. pfaffman notes that discourse-setup creates swap for systems with 2GB or less RAM, and questions if a 4GB RAM Ubuntu server needs swap. Don clarifies they run only Discourse and suspect memory issues during admin upgrades, particularly with a 1.86GB database. pfaffman agrees that more RAM might be needed, and the official guide is intended for new installations.
That is going to be really good if the official installation guide contains such information like Create a swapfile for your Linux server
I always forget create it after install. I think swapfile is too useful to not being in the official guide somehow. Thanks
Hi Jay,
Yes I am using Ubuntu with 4gb ram. If I remember correctly DigitalOcean make swapfile automatically but I move to Vultr and the admin upgrade process sometimes failed. After a month I checked that and there wasn’t swapfile. I created it after using the guide above. I just thinking about it maybe going to be a help if it is in the official installation guide additionally.
Only Discourse. Is that problem I set up the swap? I read the create swap guide and I thought it is a safety thing and prevents out of memory when upgrade.
It depends the memory usage? Maybe our server is not enough to make an admin upgrade process with few online people.