Self hosted forum has frequent 502 and 503 errors

I would suggest upping the RAM a bit more first, that could help.