Iām hitting a big increase in memory needed to rebuild. I have 8GB memory and even adding an 8GB swapfile it runs out of space on this step: cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate
Itās a multisite install with four forums. I havenāt had to add a swapfile before.
edit Now tried with 16G swap and itās still running out of memory.
This is under Linux, with minimal plugins enabled. The kernel is killing the process.
Hmm⦠I wonder, should the docs be updated to reflect higher memory requirements? Did Introducing pre-compiled JS assets for self-hosters help to decrease load? I wold have thought with that change, less RAM is needed .
It might have been a few months since I did a rebuild but it was fine before with 8GB ram and no swap. I still havenāt solved this and so all four sites are down.
I donāt know if this is related but it wouldnāt build until I set the environment variable HOME: /var/www/discourse - it would try to write to /root otherwise and get permission denied.
Iām seeing hundreds of these node processes, that seems to be the problem?
Iām starting to think the root cause is the same as my earlier issue where I had to HOME: /var/www/discourse otherwise it would try to write files under /root. Iām not sure what to do about it though.
Thanks, I think Iāll revert the whole server to a last-known-good state first and back up from a working system.
Does anyone have ideas about what could have gone wrong?